Show / Hide Table of Contents

Class AddToPrincipalPolicyResult

Result of calling addToPrincipalPolicy.

Inheritance
object
AddToPrincipalPolicyResult
Implements
IAddToPrincipalPolicyResult
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddToPrincipalPolicyResult : IAddToPrincipalPolicyResult
Syntax (vb)
Public Class AddToPrincipalPolicyResult Implements IAddToPrincipalPolicyResult
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.IAM;
            using Constructs;

            IDependable dependable;
            var addToPrincipalPolicyResult = new AddToPrincipalPolicyResult {
                StatementAdded = false,

                // the properties below are optional
                PolicyDependable = dependable
            };

Synopsis

Constructors

AddToPrincipalPolicyResult()

Result of calling addToPrincipalPolicy.

Properties

PolicyDependable

Dependable which allows depending on the policy change being applied.

StatementAdded

Whether the statement was added to the identity's policies.

Constructors

AddToPrincipalPolicyResult()

Result of calling addToPrincipalPolicy.

public AddToPrincipalPolicyResult()
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.IAM;
            using Constructs;

            IDependable dependable;
            var addToPrincipalPolicyResult = new AddToPrincipalPolicyResult {
                StatementAdded = false,

                // the properties below are optional
                PolicyDependable = dependable
            };

Properties

PolicyDependable

Dependable which allows depending on the policy change being applied.

public IDependable? PolicyDependable { get; set; }
Property Value

IDependable

Remarks

Default: - Required if statementAdded is true.

StatementAdded

Whether the statement was added to the identity's policies.

public bool StatementAdded { get; set; }
Property Value

bool

Remarks

ExampleMetadata: fixture=_generated

Implements

IAddToPrincipalPolicyResult
Back to top Generated by DocFX