Class CfnScalingPolicy
A CloudFormation AWS::ApplicationAutoScaling::ScalingPolicy
.
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.AWS.ApplicationAutoScaling.dll
Syntax (csharp)
public class CfnScalingPolicy : CfnResource, IConstruct, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnScalingPolicy
Inherits CfnResource
Implements IConstruct, IConstruct, IDependable, IInspectable
Remarks
CloudformationResource: AWS::ApplicationAutoScaling::ScalingPolicy
Synopsis
Constructors
CfnScalingPolicy(Construct, String, ICfnScalingPolicyProps) | Create a new |
CfnScalingPolicy(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnScalingPolicy(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
PolicyName |
|
PolicyType |
|
ResourceId |
|
ScalableDimension |
|
ScalingTargetId |
|
ServiceNamespace |
|
StepScalingPolicyConfiguration |
|
TargetTrackingScalingPolicyConfiguration |
|
Methods
Inspect(TreeInspector) | (experimental) Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnScalingPolicy(Construct, String, ICfnScalingPolicyProps)
Create a new AWS::ApplicationAutoScaling::ScalingPolicy
.
public CfnScalingPolicy(Construct scope, string id, ICfnScalingPolicyProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnScalingPolicyProps
- resource properties.
CfnScalingPolicy(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnScalingPolicy(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnScalingPolicy(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnScalingPolicy(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
PolicyName
AWS::ApplicationAutoScaling::ScalingPolicy.PolicyName
.
public virtual string PolicyName { get; set; }
Property Value
System.String
Remarks
PolicyType
AWS::ApplicationAutoScaling::ScalingPolicy.PolicyType
.
public virtual string PolicyType { get; set; }
Property Value
System.String
Remarks
ResourceId
AWS::ApplicationAutoScaling::ScalingPolicy.ResourceId
.
public virtual string ResourceId { get; set; }
Property Value
System.String
Remarks
ScalableDimension
AWS::ApplicationAutoScaling::ScalingPolicy.ScalableDimension
.
public virtual string ScalableDimension { get; set; }
Property Value
System.String
Remarks
ScalingTargetId
AWS::ApplicationAutoScaling::ScalingPolicy.ScalingTargetId
.
public virtual string ScalingTargetId { get; set; }
Property Value
System.String
Remarks
ServiceNamespace
AWS::ApplicationAutoScaling::ScalingPolicy.ServiceNamespace
.
public virtual string ServiceNamespace { get; set; }
Property Value
System.String
Remarks
StepScalingPolicyConfiguration
AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration
.
public virtual object StepScalingPolicyConfiguration { get; set; }
Property Value
System.Object
Remarks
TargetTrackingScalingPolicyConfiguration
AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration
.
public virtual object TargetTrackingScalingPolicyConfiguration { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
(experimental) Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
Remarks
Stability: Experimental
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>