Interface ClusterAttributes
The properties to import from the ECS cluster.
Synopsis
Properties
autoscalingGroup | Autoscaling group added to the cluster if capacity is added |
clusterArn | The Amazon Resource Name (ARN) that identifies the cluster. |
clusterName | The name of the cluster. |
defaultCloudMapNamespace | The AWS Cloud Map namespace to associate with the cluster. |
hasEc2Capacity | Specifies whether the cluster has EC2 instance capacity. |
securityGroups | The security groups associated with the container instances registered to the cluster. |
vpc | The VPC associated with the cluster. |
Properties
autoscalingGroup
Autoscaling group added to the cluster if capacity is added
- No default autoscaling group
Declaration
readonly autoscalingGroup?: autoscaling.IAutoScalingGroup;
Property Value
autoscaling.IAutoScalingGroup
clusterArn
The Amazon Resource Name (ARN) that identifies the cluster.
Derived from clusterName
Declaration
readonly clusterArn?: string;
Property Value
string
clusterName
The name of the cluster.
Declaration
readonly clusterName: string;
Property Value
string
defaultCloudMapNamespace
The AWS Cloud Map namespace to associate with the cluster.
- No default namespace
Declaration
readonly defaultCloudMapNamespace?: cloudmap.INamespace;
Property Value
cloudmap.INamespace
hasEc2Capacity
Specifies whether the cluster has EC2 instance capacity.
true
Declaration
readonly hasEc2Capacity?: boolean;
Property Value
boolean
securityGroups
The security groups associated with the container instances registered to the cluster.
Declaration
readonly securityGroups: ec2.ISecurityGroup[];
Property Value
ec2.ISecurityGroup[]
vpc
The VPC associated with the cluster.
Declaration
readonly vpc: ec2.IVpc;
Property Value
ec2.IVpc