Interface IAddToPrincipalPolicyResult
Result of calling addToPrincipalPolicy
.
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAddToPrincipalPolicyResult
Syntax (vb)
Public Interface 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
Properties
PolicyDependable | Dependable which allows depending on the policy change being applied. |
StatementAdded | Whether the statement was added to the identity's policies. |
Properties
PolicyDependable
Dependable which allows depending on the policy change being applied.
virtual IDependable PolicyDependable { get; }
Property Value
Constructs.IDependable
Remarks
Default: - Required if statementAdded
is true.
StatementAdded
Whether the statement was added to the identity's policies.
bool StatementAdded { get; }
Property Value
System.Boolean