Skip to main content

constraints_for_portfolios

Creates, updates, deletes, gets or lists a constraints_for_portfolios resource.

Overview

Nameconstraints_for_portfolios
TypeResource
Idaws.servicecatalog.constraints_for_portfolios

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
constraint_idstringThe identifier of the constraint. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
descriptionstringThe description of the constraint.
ownerstringThe owner of the constraint. (pattern: <code>^[0-9]{12}$</code>)
portfolio_idstringThe identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
product_idstringThe identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
typestringThe type of constraint. LAUNCH NOTIFICATION STACKSET TEMPLATE

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_constraints_for_portfolioselectregionLists the constraints for the specified portfolio and product.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the constraints for the specified portfolio and product.

SELECT
constraint_id,
description,
owner,
portfolio_id,
product_id,
type
FROM aws.servicecatalog.constraints_for_portfolios
WHERE region = '{{ region }}' -- required
;