constraints_for_portfolios
Creates, updates, deletes, gets or lists a constraints_for_portfolios resource.
Overview
| Name | constraints_for_portfolios |
| Type | Resource |
| Id | aws.servicecatalog.constraints_for_portfolios |
Fields
The following fields are returned by SELECT queries:
- list_constraints_for_portfolio
| Name | Datatype | Description |
|---|---|---|
constraint_id | string | The identifier of the constraint. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
description | string | The description of the constraint. |
owner | string | The owner of the constraint. (pattern: <code>^[0-9]{12}$</code>) |
portfolio_id | string | The 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_id | string | The 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>) |
type | string | The type of constraint. LAUNCH NOTIFICATION STACKSET TEMPLATE |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_constraints_for_portfolio | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_constraints_for_portfolio
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
;