constructor()

in dev/cloud9-generator/lib/cloud9-stack.ts [12:34]


  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const INSTANCE_TYPE = "t3.medium";

    // Build the Cloud9 instance
    const c9instance = new c9.CfnEnvironmentEC2(
      this,
      "BusyEngineersCloud9IDE",
      {
        instanceType: INSTANCE_TYPE,
        description: "Busy Engineer's Document Bucket Cloud9 IDE",
        name: "BusyEngineersCloud9IDE",
        repositories: [
          {
            pathComponent: "workshop",
            repositoryUrl:
              "https://github.com/aws-samples/busy-engineers-document-bucket.git"
          }
        ]
      }
    );
  }