# AWS Cloud9 Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as cloud9 from 'aws-cdk-lib/aws-cloud9';
```

Python:

```python
import aws_cdk.aws_cloud9 as cloud9
```

Java:

```java
import software.amazon.awscdk.services.cloud9.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Cloud9;
```

Golang:

```go
import cloud9 "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Cloud9 construct libraries](https://constructs.dev/search?q=cloud9)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Cloud9 resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cloud9.html) directly.

> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
>
> [`@aws-cdk/aws-cloud9-alpha`](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-cloud9-alpha-readme.html)

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Cloud9](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cloud9.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnEnvironmentEC2`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloud9.CfnEnvironmentEC2.html) Construct (L1) The `AWS::Cloud9::EnvironmentEC2` resource creates an Amazon EC2 development environment in AWS Cloud9 .

### Structs

- [`CfnEnvironmentEC2.RepositoryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloud9.CfnEnvironmentEC2.RepositoryProperty.html) Struct The `Repository` property type specifies an AWS CodeCommit source code repository to be cloned into an AWS Cloud9 development environment.
- [`CfnEnvironmentEC2Props`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloud9.CfnEnvironmentEC2Props.html) Struct Properties for defining a `CfnEnvironmentEC2`.
