Skip to content
v2.274.0

CfnStackSetConstraintProps Struct ​

Properties for defining a CfnStackSetConstraint.

Example ​

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

acceptLanguagestringaccept_languagestracceptLanguageStringAcceptLanguagestringAcceptLanguage*string#
The language code.
  • jp - Japanese
  • zh - Chinese
accountListstring[]account_listtyping.List[str]accountListList<String>AccountListstring[]AccountList*[]*stringrequired#
One or more AWS accounts that will have access to the provisioned product.
adminRolestringadmin_rolestradminRoleStringAdminRolestringAdminRole*stringrequired#
AdminRole ARN.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*stringrequired#
The description of the constraint.
executionRolestringexecution_rolestrexecutionRoleStringExecutionRolestringExecutionRole*stringrequired#
ExecutionRole name.
portfolioIdstringportfolio_idstrportfolioIdStringPortfolioIdstringPortfolioId*stringrequired#
The portfolio identifier.
productIdstringproduct_idstrproductIdStringProductIdstringProductId*stringrequired#
The product identifier.
regionListstring[]region_listtyping.List[str]regionListList<String>RegionListstring[]RegionList*[]*stringrequired#
One or more AWS Regions where the provisioned product will be available.
notes

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.

stackInstanceControlstringstack_instance_controlstrstackInstanceControlStringStackInstanceControlstringStackInstanceControl*stringrequired#
Permission to create, update, and delete stack instances.

Choose from ALLOWED and NOT_ALLOWED.