CfnAutoScalingGroupProps

class aws_cdk.aws_autoscaling.CfnAutoScalingGroupProps(*, max_size, min_size, auto_scaling_group_name=None, availability_zones=None, cooldown=None, desired_capacity=None, health_check_grace_period=None, health_check_type=None, instance_id=None, launch_configuration_name=None, launch_template=None, lifecycle_hook_specification_list=None, load_balancer_names=None, metrics_collection=None, mixed_instances_policy=None, notification_configurations=None, placement_group=None, service_linked_role_arn=None, tags=None, target_group_arns=None, termination_policies=None, vpc_zone_identifier=None)

Bases: object

__init__(*, max_size, min_size, auto_scaling_group_name=None, availability_zones=None, cooldown=None, desired_capacity=None, health_check_grace_period=None, health_check_type=None, instance_id=None, launch_configuration_name=None, launch_template=None, lifecycle_hook_specification_list=None, load_balancer_names=None, metrics_collection=None, mixed_instances_policy=None, notification_configurations=None, placement_group=None, service_linked_role_arn=None, tags=None, target_group_arns=None, termination_policies=None, vpc_zone_identifier=None)

Properties for defining a AWS::AutoScaling::AutoScalingGroup.

Parameters
  • max_size (str) – AWS::AutoScaling::AutoScalingGroup.MaxSize.

  • min_size (str) – AWS::AutoScaling::AutoScalingGroup.MinSize.

  • auto_scaling_group_name (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.AutoScalingGroupName.

  • availability_zones (Optional[List[str]]) – AWS::AutoScaling::AutoScalingGroup.AvailabilityZones.

  • cooldown (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.Cooldown.

  • desired_capacity (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.DesiredCapacity.

  • health_check_grace_period (Union[int, float, None]) – AWS::AutoScaling::AutoScalingGroup.HealthCheckGracePeriod.

  • health_check_type (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.HealthCheckType.

  • instance_id (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.InstanceId.

  • launch_configuration_name (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.LaunchConfigurationName.

  • launch_template (Union[IResolvable, None, LaunchTemplateSpecificationProperty]) – AWS::AutoScaling::AutoScalingGroup.LaunchTemplate.

  • lifecycle_hook_specification_list (Union[IResolvable, None, List[Union[IResolvable, LifecycleHookSpecificationProperty]]]) – AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecificationList.

  • load_balancer_names (Optional[List[str]]) – AWS::AutoScaling::AutoScalingGroup.LoadBalancerNames.

  • metrics_collection (Union[IResolvable, None, List[Union[IResolvable, MetricsCollectionProperty]]]) – AWS::AutoScaling::AutoScalingGroup.MetricsCollection.

  • mixed_instances_policy (Union[IResolvable, None, MixedInstancesPolicyProperty]) – AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy.

  • notification_configurations (Union[IResolvable, None, List[Union[IResolvable, NotificationConfigurationProperty]]]) – AWS::AutoScaling::AutoScalingGroup.NotificationConfigurations.

  • placement_group (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.PlacementGroup.

  • service_linked_role_arn (Optional[str]) – AWS::AutoScaling::AutoScalingGroup.ServiceLinkedRoleARN.

  • tags (Optional[List[TagPropertyProperty]]) – AWS::AutoScaling::AutoScalingGroup.Tags.

  • target_group_arns (Optional[List[str]]) – AWS::AutoScaling::AutoScalingGroup.TargetGroupARNs.

  • termination_policies (Optional[List[str]]) – AWS::AutoScaling::AutoScalingGroup.TerminationPolicies.

  • vpc_zone_identifier (Optional[List[str]]) – AWS::AutoScaling::AutoScalingGroup.VPCZoneIdentifier.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html

Attributes

auto_scaling_group_name

AWS::AutoScaling::AutoScalingGroup.AutoScalingGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-autoscalinggroupname

Return type

Optional[str]

availability_zones

AWS::AutoScaling::AutoScalingGroup.AvailabilityZones.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-availabilityzones

Return type

Optional[List[str]]

cooldown

AWS::AutoScaling::AutoScalingGroup.Cooldown.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-cooldown

Return type

Optional[str]

desired_capacity

AWS::AutoScaling::AutoScalingGroup.DesiredCapacity.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-desiredcapacity

Return type

Optional[str]

health_check_grace_period

AWS::AutoScaling::AutoScalingGroup.HealthCheckGracePeriod.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-healthcheckgraceperiod

Return type

Union[int, float, None]

health_check_type

AWS::AutoScaling::AutoScalingGroup.HealthCheckType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-healthchecktype

Return type

Optional[str]

instance_id

AWS::AutoScaling::AutoScalingGroup.InstanceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-instanceid

Return type

Optional[str]

launch_configuration_name

AWS::AutoScaling::AutoScalingGroup.LaunchConfigurationName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-launchconfigurationname

Return type

Optional[str]

launch_template

AWS::AutoScaling::AutoScalingGroup.LaunchTemplate.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-launchtemplate

Return type

Union[IResolvable, None, LaunchTemplateSpecificationProperty]

lifecycle_hook_specification_list

AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecificationList.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-lifecyclehookspecificationlist

Return type

Union[IResolvable, None, List[Union[IResolvable, LifecycleHookSpecificationProperty]]]

load_balancer_names

AWS::AutoScaling::AutoScalingGroup.LoadBalancerNames.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-loadbalancernames

Return type

Optional[List[str]]

max_size

AWS::AutoScaling::AutoScalingGroup.MaxSize.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-maxsize

Return type

str

metrics_collection

AWS::AutoScaling::AutoScalingGroup.MetricsCollection.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-metricscollection

Return type

Union[IResolvable, None, List[Union[IResolvable, MetricsCollectionProperty]]]

min_size

AWS::AutoScaling::AutoScalingGroup.MinSize.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-minsize

Return type

str

mixed_instances_policy

AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-mixedinstancespolicy

Return type

Union[IResolvable, None, MixedInstancesPolicyProperty]

notification_configurations

AWS::AutoScaling::AutoScalingGroup.NotificationConfigurations.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-notificationconfigurations

Return type

Union[IResolvable, None, List[Union[IResolvable, NotificationConfigurationProperty]]]

placement_group

AWS::AutoScaling::AutoScalingGroup.PlacementGroup.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-placementgroup

Return type

Optional[str]

service_linked_role_arn

AWS::AutoScaling::AutoScalingGroup.ServiceLinkedRoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-servicelinkedrolearn

Return type

Optional[str]

tags

AWS::AutoScaling::AutoScalingGroup.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-tags

Return type

Optional[List[TagPropertyProperty]]

target_group_arns

AWS::AutoScaling::AutoScalingGroup.TargetGroupARNs.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-targetgrouparns

Return type

Optional[List[str]]

termination_policies

AWS::AutoScaling::AutoScalingGroup.TerminationPolicies.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-termpolicy

Return type

Optional[List[str]]

vpc_zone_identifier

AWS::AutoScaling::AutoScalingGroup.VPCZoneIdentifier.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-vpczoneidentifier

Return type

Optional[List[str]]