Skip to content

ECS  >  Structures  >  Setting

Setting

Structure Class

Setting dataclass

Bases: _SerdeShape

The current account setting for a resource.

Attributes

name class-attribute instance-attribute
name: str | None = ...

The Amazon ECS resource name.

principal_arn class-attribute instance-attribute
principal_arn: str | None = ...

The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed.

type class-attribute instance-attribute
type: str | None = ...

Indicates whether Amazon Web Services manages the account setting, or if the user manages it.

aws_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account setting is the only one Amazon Web Services manages.

value class-attribute instance-attribute
value: str | None = ...

Determines whether the account setting is on or off for the specified resource.