Interface IAddToPrincipalPolicyResult
Result of calling addToPrincipalPolicy
.
public interface IAddToPrincipalPolicyResult
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 Amazon.CDK;
IDependable dependable;
var addToPrincipalPolicyResult = new AddToPrincipalPolicyResult {
StatementAdded = false,
// the properties below are optional
PolicyDependable = dependable
};
Remarks
ExampleMetadata: fixture=_generated
Properties
PolicyDependable
Dependable which allows depending on the policy change being applied.
IDependable? PolicyDependable { get; }
Property Value
- IDependable
Remarks
Default: - Required if statementAdded
is true.
StatementAdded
Whether the statement was added to the identity's policies.
bool StatementAdded { get; }