Class AddToPrincipalPolicyResult
Result of calling addToPrincipalPolicy
.
Inheritance
System.Object
AddToPrincipalPolicyResult
Implements
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddToPrincipalPolicyResult : Object, IAddToPrincipalPolicyResult
Syntax (vb)
Public Class AddToPrincipalPolicyResult
Inherits Object
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() |
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()
public AddToPrincipalPolicyResult()
Properties
PolicyDependable
Dependable which allows depending on the policy change being applied.
public IDependable PolicyDependable { get; set; }
Property Value
Constructs.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
System.Boolean