CloudFrontFunctionSchema
Hierarchy
- BaseResourceSchema
- CloudFrontFunctionSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.awsAccountId- The AWS account of the function.properties.code- The function's JavaScript, on thecloudfront-js-2.0runtime.properties.name- The name of the function, unique in its account.
Type declaration
awsAccountId: string
code: string
name: string
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.Arn- The ARN of the function's live stage.
Type declaration
optionalArn?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
The
CloudFrontFunctionSchemaclass is the schema for theCloudFrontFunctionresource, which represents one CloudFront Function: JavaScript a distribution runs at the edge on a viewer request or response. Terraform provisions it, published, asaws_cloudfront_function.Resources/CloudFrontFunction
parents - This resource has no parents. Each distribution running it is its child.
resourceId - The resource id is of format
cloudfront-function-<name>.