Interface CfnEntitlementProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntitlementProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.903Z")
@Stability(Stable)
public interface CfnEntitlementProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEntitlement.
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.*;
CfnEntitlementProps cfnEntitlementProps = CfnEntitlementProps.builder()
.applicationArn("applicationArn")
.entitlement(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEntitlementPropsstatic final classAn implementation forCfnEntitlementProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEntitlementProps.Builderbuilder()The ARN of the application.Returns union: eitherIResolvableorCfnEntitlement.EntitlementPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationArn
The ARN of the application.- See Also:
-
getEntitlement
Returns union: eitherIResolvableorCfnEntitlement.EntitlementProperty- See Also:
-
builder
- Returns:
- a
CfnEntitlementProps.BuilderofCfnEntitlementProps
-