Skip to content
v2.275.0

CfnScalableTargetPropsMixin Mixin ​

The AWS::ApplicationAutoScaling::ScalableTarget resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.

For more information, see Getting started in the Application Auto Scaling User Guide .

If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the DependsOn attribute.

Initializer ​

ts
new CfnScalableTargetPropsMixin(props: CfnScalableTargetMixinProps, options?: CfnPropertyMixinOptions)
python
CfnScalableTargetPropsMixin(props: CfnScalableTargetMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnScalableTargetPropsMixin(CfnScalableTargetMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnScalableTargetPropsMixin(CfnScalableTargetMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnScalableTargetPropsMixin(Props CfnScalableTargetMixinProps, 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.