Class GetPolicyDocumentStatementResult
Inheritance
Inherited Members
Namespace: Pulumi.Aws.Iam.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetPolicyDocumentStatementResult
Fields
View SourceActions
A list of actions that this statement either allows
or denies. For example, ["ec2:RunInstances", "s3:*"].
Declaration
public readonly ImmutableArray<string> Actions
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Conditions
A nested configuration block (described below) that defines a further, possibly-service-specific condition that constrains whether this statement applies.
Declaration
public readonly ImmutableArray<GetPolicyDocumentStatementConditionResult> Conditions
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<GetPolicyDocumentStatementConditionResult> |
Effect
Either "Allow" or "Deny", to specify whether this statement allows or denies the given actions. The default is "Allow".
Declaration
public readonly string Effect
Field Value
| Type | Description |
|---|---|
| System.String |
NotActions
A list of actions that this statement does not apply to. Used to apply a policy statement to all actions except those listed.
Declaration
public readonly ImmutableArray<string> NotActions
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
NotPrincipals
Like principals except gives resources that
the statement does not apply to.
Declaration
public readonly ImmutableArray<GetPolicyDocumentStatementNotPrincipalResult> NotPrincipals
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<GetPolicyDocumentStatementNotPrincipalResult> |
NotResources
A list of resource ARNs that this statement does not apply to. Used to apply a policy statement to all resources except those listed.
Declaration
public readonly ImmutableArray<string> NotResources
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Principals
A nested configuration block (described below) specifying a resource (or resource pattern) to which this statement applies.
Declaration
public readonly ImmutableArray<GetPolicyDocumentStatementPrincipalResult> Principals
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<GetPolicyDocumentStatementPrincipalResult> |
Resources
A list of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy.
Declaration
public readonly ImmutableArray<string> Resources
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Sid
An ID for the policy statement.
Declaration
public readonly string Sid
Field Value
| Type | Description |
|---|---|
| System.String |