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
Built Distribution
Close
Hashes for bootstrappable-cloud9-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8ff5e099a8758f4d5f0abfde2a3da4d720ed17d53c97f7ec0c81659c122758 |
|
MD5 | db674639d034ebfba191c49ea8248d0a |
|
BLAKE2b-256 | bab9dba731671117d0ba944f9224c412fcc5fd84b0378cee528247c33129e8e2 |
Close
Hashes for bootstrappable_cloud9-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7694e82f1a2cf70cf7298d0312a88b2ac257ef01cb827ab872057d8d98c6c7e8 |
|
MD5 | c4dbe9c0a715a1cf3250df3e8d711c86 |
|
BLAKE2b-256 | 4d6f8a69f76b67edc92892b808fbcaeb1516600631e4da5397bd57b066ba274a |