Class: Aws::ECS::Types::PutAccountSettingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::PutAccountSettingRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
When making an API call, you may pass PutAccountSettingRequest data as a hash:
{
name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat
value: "String", # required
principal_arn: "String",
}
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name for which to enable the new format.
-
#principal_arn ⇒ String
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
-
#value ⇒ String
The account setting value for the specified principal ARN.
Instance Attribute Details
#name ⇒ String
The resource name for which to enable the new format. If ‘serviceLongArnFormat` is specified, the ARN for your Amazon ECS services is affected. If `taskLongArnFormat` is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If `containerInstanceLongArnFormat` is specified, the ARN and resource ID for your Amazon ECS container instances is affected.
4464 4465 4466 4467 4468 4469 |
# File 'lib/aws-sdk-ecs/types.rb', line 4464 class PutAccountSettingRequest < Struct.new( :name, :value, :principal_arn) include Aws::Structure end |
#principal_arn ⇒ String
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the ARN and resource ID format for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings for themselves. If this field is omitted, the setting are changed only for the authenticated user.
4464 4465 4466 4467 4468 4469 |
# File 'lib/aws-sdk-ecs/types.rb', line 4464 class PutAccountSettingRequest < Struct.new( :name, :value, :principal_arn) include Aws::Structure end |
#value ⇒ String
The account setting value for the specified principal ARN. Accepted values are ‘enabled` and `disabled`.
4464 4465 4466 4467 4468 4469 |
# File 'lib/aws-sdk-ecs/types.rb', line 4464 class PutAccountSettingRequest < Struct.new( :name, :value, :principal_arn) include Aws::Structure end |