Class PolicyArgs
Inherited Members
Namespace: Pulumi.Aws.AppAutoScaling
Assembly: Pulumi.Aws.dll
Syntax
public sealed class PolicyArgs : ResourceArgs
Constructors
View SourcePolicyArgs()
Declaration
public PolicyArgs()
Properties
View SourceName
The name of the policy.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PolicyType
The policy type. Valid values are StepScaling and TargetTrackingScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies and Step Scaling Policies documentation.
Declaration
public Input<string> PolicyType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceId
The resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference
Declaration
public Input<string> ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScalableDimension
The scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
Declaration
public Input<string> ScalableDimension { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ServiceNamespace
The AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
Declaration
public Input<string> ServiceNamespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StepScalingPolicyConfiguration
Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below.
Declaration
public Input<PolicyStepScalingPolicyConfigurationArgs> StepScalingPolicyConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyStepScalingPolicyConfigurationArgs> |
TargetTrackingScalingPolicyConfiguration
A target tracking policy, requires policy_type = "TargetTrackingScaling". See supported fields below.
Declaration
public Input<PolicyTargetTrackingScalingPolicyConfigurationArgs> TargetTrackingScalingPolicyConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PolicyTargetTrackingScalingPolicyConfigurationArgs> |