Class: Aws::AutoScaling::Types::AccountSetting

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

Overview

Describes an account setting for Amazon EC2 Auto Scaling. Account settings control how certain features behave for your account. Some settings can be enforced after a specified date, meaning that after the enforcement date, you can no longer modify the setting.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_value ⇒ String

The default value of the account setting before the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.

Returns:

  • (String)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end

#enforced_value ⇒ String

The value that will be enforced after the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.

Returns:

  • (String)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end

#enforcement_date ⇒ Time

The date when the account setting will be enforced. After this date, for settings with hard enforcement type, you can no longer modify the setting value. This parameter is only returned for settings with hard or flexible enforcement types.

Returns:

  • (Time)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end

#enforcement_type ⇒ String

The type of enforcement for the account setting. Valid values include: hard (the setting has a hard enforcement date after which the setting will be enforced and cannot be modified), flexible (the setting has a flexible enforcement where you can always modify the setting value), and none (the setting has no enforcement and can always be modified).

Returns:

  • (String)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.

Returns:

  • (String)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ String

The current value of the account setting.

Returns:

  • (String)


106
107
108
109
110
111
112
113
114
115
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 106

class AccountSetting < Struct.new(
  :name,
  :value,
  :enforcement_type,
  :enforcement_date,
  :default_value,
  :enforced_value)
  SENSITIVE = []
  include Aws::Structure
end