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