Struct cfn::aws::applicationautoscaling::ScalingPolicyProperties
[−]
[src]
pub struct ScalingPolicyProperties { pub policy_name: Value<String>, pub policy_type: Value<String>, pub resource_id: Option<Value<String>>, pub scalable_dimension: Option<Value<String>>, pub scaling_target_id: Option<Value<String>>, pub service_namespace: Option<Value<String>>, pub step_scaling_policy_configuration: Option<Value<StepScalingPolicyConfiguration>>, pub target_tracking_scaling_policy_configuration: Option<Value<TargetTrackingScalingPolicyConfiguration>>, }
Properties for the ScalingPolicy
resource.
Fields
policy_name: Value<String>
Property PolicyName
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
policy_type: Value<String>
Property PolicyType
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
resource_id: Option<Value<String>>
Property ResourceId
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
scalable_dimension: Option<Value<String>>
Property ScalableDimension
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
scaling_target_id: Option<Value<String>>
Property ScalingTargetId
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
service_namespace: Option<Value<String>>
Property ServiceNamespace
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
step_scaling_policy_configuration: Option<Value<StepScalingPolicyConfiguration>>
Property StepScalingPolicyConfiguration
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
target_tracking_scaling_policy_configuration: Option<Value<TargetTrackingScalingPolicyConfiguration>>
Property TargetTrackingScalingPolicyConfiguration
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
Trait Implementations
impl Debug for ScalingPolicyProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Serialize for ScalingPolicyProperties
[src]
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
[src]
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for ScalingPolicyProperties
[src]
fn deserialize<D: Deserializer<'de>>(
d: D
) -> Result<ScalingPolicyProperties, D::Error>
[src]
d: D
) -> Result<ScalingPolicyProperties, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl From<ScalingPolicyProperties> for ScalingPolicy
[src]
fn from(properties: ScalingPolicyProperties) -> ScalingPolicy
[src]
Performs the conversion.