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

Class: Aws::SSM::Types::ServiceSetting

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The service setting data structure.

ServiceSetting is an account-level setting for an AWS service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an AWS service charges money to the account based on feature or service usage, then the AWS service team might create a default setting of "false". This means the user can't use this feature unless they change the setting to "true" and intentionally opt in for a paid feature.

Services map a SettingId object to a setting value. AWS services teams define the default value for a SettingId. You can't create a new SettingId, but you can overwrite the default value if you have the ssm:UpdateServiceSetting permission for the setting. Use the UpdateServiceSetting API action to change the default setting. Or, use the ResetServiceSetting to change the value back to the original value defined by the AWS service team.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the service setting.

Returns:

  • (String)

    The ARN of the service setting.

#last_modified_dateTime

The last time the service setting was modified.

Returns:

  • (Time)

    The last time the service setting was modified.

#last_modified_userString

The ARN of the last modified user. This field is populated only if the setting value was overwritten.

Returns:

  • (String)

    The ARN of the last modified user.

#setting_idString

The ID of the service setting.

Returns:

  • (String)

    The ID of the service setting.

#setting_valueString

The value of the service setting.

Returns:

  • (String)

    The value of the service setting.

#statusString

The status of the service setting. The value can be Default, Customized or PendingUpdate.

  • Default: The current setting uses a default value provisioned by the AWS service team.

  • Customized: The current setting use a custom value specified by the customer.

  • PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.

Returns:

  • (String)

    The status of the service setting.