Skip to content
v2.274.0

CfnEntitlementProps Struct ​

Properties for defining a CfnEntitlement.

Example ​

ts
// 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 ​

applicationArnstringapplication_arnstrapplicationArnStringApplicationArnstringApplicationArn*stringrequired#
The ARN of the application.
entitlementIResolvable | CfnEntitlement.EntitlementPropertyentitlementtyping.Union[IResolvable, EntitlementProperty]entitlementIResolvableEntitlementIResolvableEntitlementinterface{}required#