> **Experimental**
>
> `@aws-cdk/aws-cloud9-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ConnectionType

The connection type used for connecting to an Amazon EC2 environment.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/environment.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-cloud9-alpha/lib/environment.ts#L33)

## Members

| Member | Description |
| --- | --- |
| `CONNECT_SSH` | Connect through SSH. |
| `CONNECT_SSM` | Connect through AWS Systems Manager When using SSM, service role and instance profile aren't automatically created. |

## Referenced by

- [`Ec2EnvironmentProps`](/v2/docs/@aws-cdk_aws-cloud9-alpha.Ec2EnvironmentProps).connectionType
