Show / Hide Table of Contents

Class GetPolicyDocumentStatementResult

Inheritance
System.Object
GetPolicyDocumentStatementResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Iam.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetPolicyDocumentStatementResult

Fields

View Source

Actions

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>
View Source

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>
View Source

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
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Sid

An ID for the policy statement.

Declaration
public readonly string Sid
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.