Interface ICluster
- All Superinterfaces:
IClusterRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ICluster.Jsii$Default
- All Known Implementing Classes:
Cluster,ICluster.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T10:47:19.875Z")
@Stability(Stable)
public interface ICluster
extends software.amazon.jsii.JsiiSerializable, IResource, IClusterRef
A regional grouping of one or more container instances on which you can run tasks and services.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forICluster.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiondefault IAutoScalingGroupThe autoscaling group added to the cluster if capacity is associated to the cluster.The Amazon Resource Name (ARN) that identifies the cluster.The name of the cluster.Manage the allowed network connections for the cluster with Security Groups.default INamespaceThe AWS Cloud Map namespace to associate with the cluster.getEnv()The environment this resource belongs to.default ExecuteCommandConfigurationThe execute command configuration for the cluster.Specifies whether the cluster has EC2 instance capacity.software.constructs.NodegetNode()The tree node.getVpc()The VPC associated with the cluster.Methods inherited from interface software.amazon.awscdk.interfaces.ecs.IClusterRef
getClusterRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterArn
The Amazon Resource Name (ARN) that identifies the cluster. -
getClusterName
The name of the cluster. -
getConnections
Manage the allowed network connections for the cluster with Security Groups. -
getHasEc2Capacity
Specifies whether the cluster has EC2 instance capacity. -
getVpc
The VPC associated with the cluster. -
getAutoscalingGroup
The autoscaling group added to the cluster if capacity is associated to the cluster. -
getDefaultCloudMapNamespace
The AWS Cloud Map namespace to associate with the cluster. -
getExecuteCommandConfiguration
The execute command configuration for the cluster. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-