Skip to content

Setting

Source code in docs_src/capo_ecs/types/setting.py
class Setting(TypedDict, closed=True):
    name: NotRequired["capo_ecs.types.setting_name.SettingName"]
    """<p>The Amazon ECS resource name.</p>"""
    value: NotRequired["capo_ecs.types.string.String"]
    """<p>Determines whether the account setting is on or off for the specified resource.</p>"""
    principal_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>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.</p>"""
    type: NotRequired["capo_ecs.types.setting_type.SettingType"]
    """<p>Indicates whether Amazon Web Services manages the account setting, or if the user manages it.</p> <p> <code>aws_managed</code> account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the <code>guardDutyActivate</code> account setting is the only one Amazon Web Services manages.</p>"""

name instance-attribute

name: NotRequired[SettingName]

The Amazon ECS resource name.

principal_arn instance-attribute

principal_arn: NotRequired[String]

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 instance-attribute

type: NotRequired[SettingType]

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 instance-attribute

value: NotRequired[String]

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