Interface EnvironmentEC2Reference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnvironmentEC2Reference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.475Z")
@Stability(Stable)
public interface EnvironmentEC2Reference
extends software.amazon.jsii.JsiiSerializable
A reference to a EnvironmentEC2 resource.
Example:
// 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")
.environmentEc2Id("environmentEc2Id")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEnvironmentEC2Referencestatic final classAn implementation forEnvironmentEC2Reference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ARN of the EnvironmentEC2 resource.The Id of the EnvironmentEC2 resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnvironmentEc2Arn
The ARN of the EnvironmentEC2 resource. -
getEnvironmentEc2Id
The Id of the EnvironmentEC2 resource. -
builder
- Returns:
- a
EnvironmentEC2Reference.BuilderofEnvironmentEC2Reference
-