Class AddToPrincipalPolicyResult
Result of calling addToPrincipalPolicy.
Implements
Inherited Members
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 |
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
Remarks
ExampleMetadata: fixture=_generated