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.2.tar.gz (33.4 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.2-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bootstrappable-cloud9-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1656b40f161f9b02e54535371293550ef44d01dec41c7ab797a696d016673c39
MD5 594801caf5a9f1b0e9a2a42802c71a85
BLAKE2b-256 6f95737e54b8aaeaad065ea07e92d15429f18972acd1f1a715ef28c3772bf1a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bootstrappable_cloud9-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5bf17de25e50fdfff4691d5311fc9d8b11620907bdb74bc3fccf3f3102b6f2b4
MD5 ff72b0557d7549226494b3ad7e4c8298
BLAKE2b-256 9a902a2f5fcaece713f7dfde22a0627942ed581b820b706d71878d540a26f1a0

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