Skip to main content

bootstrappable-cloud9

Project description

Bootstrappable Cloud9 Instance with SSM

Simple stack example:

export class Cloud9EnvironmentExampleStack extends cdk.Stack {
  constructor(scope: Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    // Create L2 Cloud9 Environment
    const environment = new Cloud9Environment(this, "environment", {
      name: "example-environment",
      description: "An example environment",
      imageId: Cloud9AmiType.AMZN_LINUX_2,
      connectionType: Cloud9ConnectionType.SSM,
      ownerArn: "<YOUR_ARN>",
    });

    // Existing CodeCommit Repository
    const repository = Repository.fromRepositoryName(this, "test", "test-repo");
    // Clone Git Repositories within Cloud9 Environment
    environment.cloneCodeCommitRepo(repository, "test");
    environment.cloneGitRepo(
      "https://github.com/aws-samples/aws-copilot-pubsub",
      "copilot"
    );

    environment.addInitCommands(["sudo yum update -y", "sudo yum install -y jq"]);

    //-----------------------------------------------------
    //-                  Outputs                         -
    //-----------------------------------------------------
    new cdk.CfnOutput(this, "environmentUrl", {
      value: environment.environmentUrl,
      description: "The URL of the environment",
    });
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bootstrappable-cloud9-0.0.5.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bootstrappable_cloud9-0.0.5-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file bootstrappable-cloud9-0.0.5.tar.gz.

File metadata

  • Download URL: bootstrappable-cloud9-0.0.5.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bootstrappable-cloud9-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3b8ff5e099a8758f4d5f0abfde2a3da4d720ed17d53c97f7ec0c81659c122758
MD5 db674639d034ebfba191c49ea8248d0a
BLAKE2b-256 bab9dba731671117d0ba944f9224c412fcc5fd84b0378cee528247c33129e8e2

See more details on using hashes here.

File details

Details for the file bootstrappable_cloud9-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for bootstrappable_cloud9-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7694e82f1a2cf70cf7298d0312a88b2ac257ef01cb827ab872057d8d98c6c7e8
MD5 c4dbe9c0a715a1cf3250df3e8d711c86
BLAKE2b-256 4d6f8a69f76b67edc92892b808fbcaeb1516600631e4da5397bd57b066ba274a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page