LambdaFunctionCloudFrontPermissionSchema
Hierarchy
- BaseResourceSchema
- LambdaFunctionCloudFrontPermissionSchema
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.awsRegionId- The AWS region of the function.properties.distributionName- The name of the distribution admitted. It is part of the permission's statement id, so it holds only letters, digits,-and_, at most 59 of them.properties.functionName- The name of the function.
Type declaration
awsAccountId: string
awsRegionId: string
distributionName: string
functionName: 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. A permission reports nothing.
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
LambdaFunctionCloudFrontPermissionSchemaclass is the schema for theLambdaFunctionCloudFrontPermissionresource, which admits one CloudFront distribution to invoke one Lambda function through its URL. The function may belong to another app, such as one an extended state holds; the permission is created in the function's account. Terraform provisions it as twoaws_lambda_permissionblocks.Resources/LambdaFunctionCloudFrontPermission
parents - This resource has parents.
resourceId - The resource id is of format
lambda-function-cloudfront-permission-<distribution-name>-<origin-id>