aws-cdk-lib.aws_servicecatalog.CfnStackSetConstraintProps

interface CfnStackSetConstraintProps

LanguageType name
.NETAmazon.CDK.AWS.Servicecatalog.CfnStackSetConstraintProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsservicecatalog#CfnStackSetConstraintProps
Javasoftware.amazon.awscdk.services.servicecatalog.CfnStackSetConstraintProps
Pythonaws_cdk.aws_servicecatalog.CfnStackSetConstraintProps
TypeScript aws-cdk-lib » aws_servicecatalog » CfnStackSetConstraintProps

Properties for defining a CfnStackSetConstraint.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalog as servicecatalog } from 'aws-cdk-lib';
const cfnStackSetConstraintProps: servicecatalog.CfnStackSetConstraintProps = {
  accountList: ['accountList'],
  adminRole: 'adminRole',
  description: 'description',
  executionRole: 'executionRole',
  portfolioId: 'portfolioId',
  productId: 'productId',
  regionList: ['regionList'],
  stackInstanceControl: 'stackInstanceControl',

  // the properties below are optional
  acceptLanguage: 'acceptLanguage',
};

Properties

NameTypeDescription
accountListstring[]One or more AWS accounts that will have access to the provisioned product.
adminRolestringAdminRole ARN.
descriptionstringThe description of the constraint.
executionRolestringExecutionRole name.
portfolioIdstringThe portfolio identifier.
productIdstringThe product identifier.
regionListstring[]One or more AWS Regions where the provisioned product will be available.
stackInstanceControlstringPermission to create, update, and delete stack instances.
acceptLanguage?stringThe language code.

accountList

Type: string[]

One or more AWS accounts that will have access to the provisioned product.


adminRole

Type: string

AdminRole ARN.


description

Type: string

The description of the constraint.


executionRole

Type: string

ExecutionRole name.


portfolioId

Type: string

The portfolio identifier.


productId

Type: string

The product identifier.


regionList

Type: string[]

One or more AWS Regions where the provisioned product will be available.

Applicable only to a CFN_STACKSET provisioned product type.

The specified Regions should be within the list of Regions from the STACKSET constraint. To get the list of Regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

If no values are specified, the default value is all Regions from the STACKSET constraint.


stackInstanceControl

Type: string

Permission to create, update, and delete stack instances.

Choose from ALLOWED and NOT_ALLOWED.


acceptLanguage?

Type: string (optional)

The language code.

  • jp - Japanese
  • zh - Chinese