Class: Aws::Types::ScalingPolicy

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Constant Summary collapse

SENSITIVE =

Returns:

  • ([])

Instance Attribute Summary collapse

Instance Attribute Details

#alarms::Array[Types::Alarm]

Returns the value of attribute alarms.

Returns:



387
388
389
# File 'sig/types.rbs', line 387

def alarms
  @alarms
end

#creation_time::Time

Returns the value of attribute creation_time.

Returns:

  • (::Time)


388
389
390
# File 'sig/types.rbs', line 388

def creation_time
  @creation_time
end

#policy_arn::String

Returns the value of attribute policy_arn.

Returns:

  • (::String)


378
379
380
# File 'sig/types.rbs', line 378

def policy_arn
  @policy_arn
end

#policy_name::String

Returns the value of attribute policy_name.

Returns:

  • (::String)


379
380
381
# File 'sig/types.rbs', line 379

def policy_name
  @policy_name
end

#policy_type"StepScaling", ...

Returns the value of attribute policy_type.

Returns:

  • ("StepScaling", "TargetTrackingScaling", "PredictiveScaling")


383
384
385
# File 'sig/types.rbs', line 383

def policy_type
  @policy_type
end

#predictive_scaling_policy_configurationTypes::PredictiveScalingPolicyConfiguration

Returns the value of attribute predictive_scaling_policy_configuration.



386
387
388
# File 'sig/types.rbs', line 386

def predictive_scaling_policy_configuration
  @predictive_scaling_policy_configuration
end

#resource_id::String

Returns the value of attribute resource_id.

Returns:

  • (::String)


381
382
383
# File 'sig/types.rbs', line 381

def resource_id
  @resource_id
end

#scalable_dimension"ecs:service:DesiredCount", ...

Returns the value of attribute scalable_dimension.

Returns:

  • ("ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize", "elasticache:cache-cluster:Nodes", "elasticache:replication-group:NodeGroups", "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency", "sagemaker:inference-component:DesiredCopyCount", "workspaces:workspacespool:DesiredUserSessions")


382
383
384
# File 'sig/types.rbs', line 382

def scalable_dimension
  @scalable_dimension
end

#service_namespace"ecs", ...

Returns the value of attribute service_namespace.

Returns:

  • ("ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka", "elasticache", "neptune", "workspaces")


380
381
382
# File 'sig/types.rbs', line 380

def service_namespace
  @service_namespace
end

#step_scaling_policy_configurationTypes::StepScalingPolicyConfiguration

Returns the value of attribute step_scaling_policy_configuration.



384
385
386
# File 'sig/types.rbs', line 384

def step_scaling_policy_configuration
  @step_scaling_policy_configuration
end

#target_tracking_scaling_policy_configurationTypes::TargetTrackingScalingPolicyConfiguration

Returns the value of attribute target_tracking_scaling_policy_configuration.



385
386
387
# File 'sig/types.rbs', line 385

def target_tracking_scaling_policy_configuration
  @target_tracking_scaling_policy_configuration
end