Adding Constraints - Amazon Service Catalog
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Adding Constraints

You should add constraints to control how users engage with products. For more information about the types of constraints that Amazon Service Catalog supports, see Using Amazon Service Catalog Constraints.

You add constraints to products after they have been placed in a portfolio.

To add a constraint to a product
  1. Open the Service Catalog console at https://console.amazonaws.cn/servicecatalog/.

  2. Choose Portfolios and select a portfolio.

  3. In the portfolio details page, expand the Create constraint section and choose Add constraints.

  4. For Product, select the product to which to apply the constraint.

  5. For Constraint type, choose one of the following options:

    Launch – Allows you to assign an IAM role to the product that is used to provision the Amazon resources. For more information, see Amazon Service Catalog Launch Constraints.

    Notification – Allows you to stream product notifications to an Amazon SNS topic. For more information, see Amazon Service Catalog Notification Constraints.

    Template – Allows you to limit the options that are available to end users when they launch the product. A Template consists of a JSON–formatted text file that contains one or more rules. Rules are added to the Amazon CloudFormation template used by the product. For more information, see Template Constraint Rules.

    Stack Set – Allows you to configure product deployment across accounts and regions using Amazon CloudFormation StackSets. For more information, see Amazon Service Catalog Stack Set Constraints.

    Tag Update – Allows you to update tags after the product has been provisioned. For more information, see Amazon Service Catalog Tag Update Constraints.

  6. Choose Continue and enter the required information.

To edit a constraint
  1. Sign in to the Amazon Web Services Management Console and open the Amazon Service Catalog administrator console at https://console.amazonaws.cn/catalog/.

  2. Choose Portfolios and select a portfolio.

  3. In the Portfolio details page, expand the Create constraint section and select the constraint to edit.

  4. Choose Edit constraints.

  5. Edit the constraint as needed, and choose Save.