EnvironmentEC2Reference Struct
A reference to a EnvironmentEC2 resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloud9 as interfaces_cloud9 } from 'aws-cdk-lib/interfaces';
const environmentEC2Reference: interfaces_cloud9.EnvironmentEC2Reference = {
environmentEc2Arn: 'environmentEc2Arn',
environmentId: 'environmentId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cloud9 as interfaces_cloud9
environment_ec2_reference = interfaces_cloud9.EnvironmentEC2Reference(
environment_ec2_arn="environmentEc2Arn",
environment_id="environmentId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.cloud9.*;
EnvironmentEC2Reference environmentEC2Reference = EnvironmentEC2Reference.builder()
.environmentEc2Arn("environmentEc2Arn")
.environmentId("environmentId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Cloud9;
var environmentEC2Reference = new EnvironmentEC2Reference {
EnvironmentEc2Arn = "environmentEc2Arn",
EnvironmentId = "environmentId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
environmentEC2Reference := &EnvironmentEC2Reference{
EnvironmentEc2Arn: jsii.String("environmentEc2Arn"),
EnvironmentId: jsii.String("environmentId"),
}
Properties
environmentEc2Arnstringenvironment_ec2_arnstrenvironmentEc2ArnStringEnvironmentEc2ArnstringEnvironmentEc2Arn*string required #The ARN of the EnvironmentEC2 resource.
environmentIdstringenvironment_idstrenvironmentIdStringEnvironmentIdstringEnvironmentId*string required #The EnvironmentId of the EnvironmentEC2 resource.