GetPolicyDocumentStatement class
Constructors
-
GetPolicyDocumentStatement({Input<List<String>?>? actions, Input<List<GetPolicyDocumentStatementCondition>?>? conditions, Input<String?>? effect, Input<List<String>?>? notActions, Input<List<GetPolicyDocumentStatementNotPrincipal>?>? notPrincipals, Input<List<String>?>? notResources, Input<List<GetPolicyDocumentStatementPrincipal>?>? principals, Input<List<String>?>? resources, Input<String?>? sid})
-
Creates a new GetPolicyDocumentStatement.
actions List of actions that this statement either allows or denies. For example, ["ec2:RunInstances", "s3:*"].
conditions Configuration block for a condition. Detailed below.
effect Whether this statement allows or denies the given actions. Valid values are Allow and Deny. Defaults to Allow.
notActions List of actions that this statement does not apply to. Use to apply a policy statement to all actions except those listed.
notPrincipals Like principals except these are principals that the statement does not apply to.
notResources List of resource ARNs that this statement does not apply to. Use to apply a policy statement to all resources except those listed. Conflicts with resources.
principals Configuration block for principals. Detailed below.
resources List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with notResources.
sid Sid (statement ID) is an identifier for a policy statement.
const
-
GetPolicyDocumentStatement.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
actions
→ Input<List<String>?>?
-
List of actions that this statement either allows or denies. For example,
["ec2:RunInstances", "s3:*"].
final
-
conditions
→ Input<List<GetPolicyDocumentStatementCondition>?>?
-
Configuration block for a condition. Detailed below.
final
-
effect
→ Input<String?>?
-
Whether this statement allows or denies the given actions. Valid values are
Allow and Deny. Defaults to Allow.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
notActions
→ Input<List<String>?>?
-
List of actions that this statement does not apply to. Use to apply a policy statement to all actions except those listed.
final
-
notPrincipals
→ Input<List<GetPolicyDocumentStatementNotPrincipal>?>?
-
Like
principals except these are principals that the statement does not apply to.
final
-
notResources
→ Input<List<String>?>?
-
List of resource ARNs that this statement does not apply to. Use to apply a policy statement to all resources except those listed. Conflicts with
resources.
final
-
principals
→ Input<List<GetPolicyDocumentStatementPrincipal>?>?
-
Configuration block for principals. Detailed below.
final
-
resources
→ Input<List<String>?>?
-
List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with
notResources.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sid
→ Input<String?>?
-
Sid (statement ID) is an identifier for a policy statement.
final