functions_list_only
Lists functions
in a region or regions, for all properties use functions
Overview
Name | functions_list_only |
Type | Resource |
Description | Creates a CF function. To create a function, you provide the function code and some configuration information about the function. The response contains an Amazon Resource Name (ARN) that uniquely identifies the function, and the function’s stage. By default, when you create a function, it’s in the DEVELOPMENT stage. In this stage, you can [test the function](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/test-function.html) in the CF console (or with TestFunction in the CF API).When you’re ready to use your function with a CF distribution, publish the function to the LIVE stage. You can do this in the CF console, with PublishFunction in the CF API, or by updating the AWS::CloudFront::Function resource with the AutoPublish property set to true . When the function is published to the LIVE stage, you can attach it to a distribution’s cache behavior, using the function’s ARN.To automatically publish the function to the LIVE stage when it’s created, set the AutoPublish property to true . |
Id | aws.cloudfront.functions_list_only |
Fields
Name | Datatype | Description |
---|---|---|
function_arn | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all functions
in a region.
SELECT
region,
function_arn
FROM aws.cloudfront.functions_list_only
;
Permissions
For permissions required to operate on the functions_list_only
resource, see functions