streaming_distribution_configs
Creates, updates, deletes, gets or lists a streaming_distribution_configs resource.
Overview
| Name | streaming_distribution_configs |
| Type | Resource |
| Id | aws.cloudfront.streaming_distribution_configs |
Fields
The following fields are returned by SELECT queries:
- get_streaming_distribution_config
| Name | Datatype | Description |
|---|---|---|
aliases | string | A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. |
caller_reference | string | A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the StreamingDistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error. |
comment | string | Any comments you want to include about the streaming distribution. |
enabled | boolean | Whether the streaming distribution is enabled to accept user requests for content. |
logging | string | A complex type that controls whether access logs are written for the streaming distribution. |
price_class | string | A complex type that contains information about price class for this streaming distribution. |
s3_origin | string | A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. |
trusted_signers | string | A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_streaming_distribution_config | select | id, region | Get the configuration information about a streaming distribution. |
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 |
|---|---|---|
id | string | The streaming distribution's ID. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_streaming_distribution_config
Get the configuration information about a streaming distribution.
SELECT
aliases,
caller_reference,
comment,
enabled,
logging,
price_class,
s3_origin,
trusted_signers
FROM aws.cloudfront.streaming_distribution_configs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;