Interface CfnEntitlementPropsMixin.PrincipalRoleEntitlementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntitlementPropsMixin.PrincipalRoleEntitlementProperty.Jsii$Proxy
- Enclosing class:
CfnEntitlementPropsMixin
@Stability(Stable)
public static interface CfnEntitlementPropsMixin.PrincipalRoleEntitlementProperty
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.cfnpropertymixins.services.accountaccess.*;
PrincipalRoleEntitlementProperty principalRoleEntitlementProperty = PrincipalRoleEntitlementProperty.builder()
.account("account")
.principal(PrincipalProperty.builder()
.identityCenter(IdentityCenterPrincipalProperty.builder()
.groupId("groupId")
.userId("userId")
.build())
.build())
.roleArn("roleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEntitlementPropsMixin.PrincipalRoleEntitlementProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe AWS account ID.default ObjectReturns union: eitherIResolvableorCfnEntitlementPropsMixin.PrincipalPropertydefault StringThe ARN of the IAM role.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccount
The AWS account ID.- See Also:
-
getPrincipal
Returns union: eitherIResolvableorCfnEntitlementPropsMixin.PrincipalProperty- See Also:
-
getRoleArn
The ARN of the IAM role.- See Also:
-
builder
@Stability(Stable) static CfnEntitlementPropsMixin.PrincipalRoleEntitlementProperty.Builder builder()
-