CfnClusterProps

class aws_cdk.aws_ecs.CfnClusterProps(*, capacity_providers=None, cluster_name=None, cluster_settings=None, default_capacity_provider_strategy=None, tags=None)

Bases: object

__init__(*, capacity_providers=None, cluster_name=None, cluster_settings=None, default_capacity_provider_strategy=None, tags=None)

Properties for defining a AWS::ECS::Cluster.

Parameters
  • capacity_providers (Optional[List[str]]) – AWS::ECS::Cluster.CapacityProviders.

  • cluster_name (Optional[str]) – AWS::ECS::Cluster.ClusterName.

  • cluster_settings (Union[IResolvable, List[Union[IResolvable, ClusterSettingsProperty]], None]) – AWS::ECS::Cluster.ClusterSettings.

  • default_capacity_provider_strategy (Union[IResolvable, List[Union[IResolvable, CapacityProviderStrategyItemProperty]], None]) – AWS::ECS::Cluster.DefaultCapacityProviderStrategy.

  • tags (Optional[List[CfnTag]]) – AWS::ECS::Cluster.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html

Return type

None

Attributes

capacity_providers

AWS::ECS::Cluster.CapacityProviders.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-capacityproviders

Return type

Optional[List[str]]

cluster_name

AWS::ECS::Cluster.ClusterName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-clustername

Return type

Optional[str]

cluster_settings

AWS::ECS::Cluster.ClusterSettings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-clustersettings

Return type

Union[IResolvable, List[Union[IResolvable, ClusterSettingsProperty]], None]

default_capacity_provider_strategy

AWS::ECS::Cluster.DefaultCapacityProviderStrategy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-defaultcapacityproviderstrategy

Return type

Union[IResolvable, List[Union[IResolvable, CapacityProviderStrategyItemProperty]], None]

tags

AWS::ECS::Cluster.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-tags

Return type

Optional[List[CfnTag]]