You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AutoScaling::Types::DeletePolicyType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Note:

When making an API call, you may pass DeletePolicyType data as a hash:

{
  auto_scaling_group_name: "ResourceName",
  policy_name: "ResourceName", # required
}

Contains the parameters for DeletePolicy.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


1275
1276
1277
1278
1279
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 1275

class DeletePolicyType < Struct.new(
  :auto_scaling_group_name,
  :policy_name)
  include Aws::Structure
end

#policy_nameString

The name or Amazon Resource Name (ARN) of the policy.

Returns:

  • (String)


1275
1276
1277
1278
1279
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 1275

class DeletePolicyType < Struct.new(
  :auto_scaling_group_name,
  :policy_name)
  include Aws::Structure
end