Interface CfnEntitlement.EntitlementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntitlement.EntitlementProperty.Jsii$Proxy
- Enclosing class:
CfnEntitlement
@Stability(Stable)
public static interface CfnEntitlement.EntitlementProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.accountaccess.*;
EntitlementProperty entitlementProperty = EntitlementProperty.builder()
.principalRole(PrincipalRoleEntitlementProperty.builder()
.principal(PrincipalProperty.builder()
.identityCenter(IdentityCenterPrincipalProperty.builder()
.groupId("groupId")
.userId("userId")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.account("account")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntitlement.EntitlementPropertystatic final classAn implementation forCfnEntitlement.EntitlementProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableorCfnEntitlement.PrincipalRoleEntitlementPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPrincipalRole
Returns union: eitherIResolvableorCfnEntitlement.PrincipalRoleEntitlementProperty- See Also:
-
builder
-