interface CfnEntitlementProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AccountAccess.CfnEntitlementProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaccountaccess#CfnEntitlementProps |
Java | software.amazon.awscdk.services.accountaccess.CfnEntitlementProps |
Python | aws_cdk.aws_accountaccess.CfnEntitlementProps |
TypeScript | aws-cdk-lib » aws_accountaccess » CfnEntitlementProps |
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 { aws_accountaccess as accountaccess } from 'aws-cdk-lib';
const cfnEntitlementProps: accountaccess.CfnEntitlementProps = {
applicationArn: 'applicationArn',
entitlement: {
principalRole: {
principal: {
identityCenter: {
groupId: 'groupId',
userId: 'userId',
},
},
roleArn: 'roleArn',
// the properties below are optional
account: 'account',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | The ARN of the application. |
| entitlement | IResolvable | Entitlement |
applicationArn
Type:
string
The ARN of the application.
entitlement
Type:
IResolvable | Entitlement

.NET
Go
Java
Python
TypeScript