Interface CfnPolicyGrant.IPolicyGrantPrincipalProperty
The policy grant principal.
Namespace: Amazon.CDK.AWS.DataZone
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnPolicyGrant.IPolicyGrantPrincipalProperty
Syntax (vb)
Public Interface CfnPolicyGrant.IPolicyGrantPrincipalProperty
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.DataZone;
var allDomainUnitsGrantFilter;
var allUsersGrantFilter;
var policyGrantPrincipalProperty = new PolicyGrantPrincipalProperty {
DomainUnit = new DomainUnitPolicyGrantPrincipalProperty {
DomainUnitDesignation = "domainUnitDesignation",
DomainUnitGrantFilter = new DomainUnitGrantFilterProperty {
AllDomainUnitsGrantFilter = allDomainUnitsGrantFilter
},
DomainUnitIdentifier = "domainUnitIdentifier"
},
Group = new GroupPolicyGrantPrincipalProperty {
GroupIdentifier = "groupIdentifier"
},
Project = new ProjectPolicyGrantPrincipalProperty {
ProjectDesignation = "projectDesignation",
ProjectGrantFilter = new ProjectGrantFilterProperty {
DomainUnitFilter = new DomainUnitFilterForProjectProperty {
DomainUnit = "domainUnit",
// the properties below are optional
IncludeChildDomainUnits = false
}
},
ProjectIdentifier = "projectIdentifier"
},
User = new UserPolicyGrantPrincipalProperty {
AllUsersGrantFilter = allUsersGrantFilter,
UserIdentifier = "userIdentifier"
}
};
Synopsis
Properties
| DomainUnit | The domain unit of the policy grant principal. |
| Group | The group of the policy grant principal. |
| Project | The project of the policy grant principal. |
| User | The user of the policy grant principal. |
Properties
DomainUnit
The domain unit of the policy grant principal.
object? DomainUnit { get; }
Property Value
Remarks
Group
The group of the policy grant principal.
object? Group { get; }
Property Value
Remarks
Project
The project of the policy grant principal.
object? Project { get; }
Property Value
Remarks
User
The user of the policy grant principal.
object? User { get; }