Skip to main content

continuous_deployment_policy_configs

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

Overview

Namecontinuous_deployment_policy_configs
TypeResource
Idaws.cloudfront.continuous_deployment_policy_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
enabledbooleanA Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true, this policy is enabled and in effect. When this value is false, this policy is not enabled and has no effect.
staging_distribution_dns_namesstringThe CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net.
traffic_configstringContains the parameters for routing production traffic from your primary to staging distributions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_continuous_deployment_policy_configselectid, regionGets configuration information about a continuous deployment policy.

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
idstringThe identifier of the continuous deployment policy whose configuration you are getting.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets configuration information about a continuous deployment policy.

SELECT
enabled,
staging_distribution_dns_names,
traffic_config
FROM aws.cloudfront.continuous_deployment_policy_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;