Anyone

class aws_cdk.aws_iam.Anyone

Bases: aws_cdk.aws_iam.AnyPrincipal

A principal representing all identities in all accounts.

deprecated :deprecated: use AnyPrincipal

stability :stability: deprecated

__init__()
Parameters

arn

Return type

None

Methods

add_to_policy(_statement)

Add to the policy of this principal.

Parameters

_statement (PolicyStatement) –

Return type

bool

to_json()
Return type

Mapping[str, List[str]]

to_string()

Returns a string representation of an object.

Return type

str

Attributes

arn
Return type

str

assume_role_action

When this Principal is used in an AssumeRole policy, the action to use.

Return type

str

grant_principal

The principal to grant permissions to.

Return type

IPrincipal

policy_fragment

Return the policy fragment that identifies this principal in a Policy.

Return type

PrincipalPolicyFragment