Skip to main content

rule_types

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

Overview

Namerule_types
TypeResource
Idaws.codepipeline.rule_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
rule_typesarrayLists the rules that are configured for the condition.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_rule_typesselectregionLists the rules for the condition. For more information about conditions, see Stage conditions and How do stage conditions work?.For more information about rules, see the CodePipeline rule reference.

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 rules for the condition. For more information about conditions, see Stage conditions and How do stage conditions work?.For more information about rules, see the CodePipeline rule reference.

SELECT
rule_types
FROM aws.codepipeline.rule_types
WHERE region = '{{ region }}' -- required
;