Skip to content
v2.274.0

CfnAutoScalingGroupPropsMixin Mixin ​

The AWS::AutoScaling::AutoScalingGroup resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.

For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide .

Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. For more information, see Launch configurations in the Amazon EC2 Auto Scaling User Guide .

For help migrating from launch configurations to launch templates, see Migrate AWS CloudFormation stacks from launch configurations to launch templates in the Amazon EC2 Auto Scaling User Guide .

Initializer ​

ts
new CfnAutoScalingGroupPropsMixin(props: CfnAutoScalingGroupMixinProps, options?: CfnPropertyMixinOptions)
python
CfnAutoScalingGroupPropsMixin(props: CfnAutoScalingGroupMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnAutoScalingGroupPropsMixin(CfnAutoScalingGroupMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnAutoScalingGroupPropsMixin(CfnAutoScalingGroupMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnAutoScalingGroupPropsMixin(Props CfnAutoScalingGroupMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.