CloudfrontFunctions

Functions

Link copied to clipboard

Use this data source to retrieve information about a CloudFront cache policy.

suspend fun getCachePolicy(id: String? = null, name: String? = null): GetCachePolicyResult
Link copied to clipboard

Use this data source to retrieve information about a CloudFront distribution.

suspend fun getDistribution(id: String, tags: Map<String, String>? = null): GetDistributionResult
Link copied to clipboard

Provides information about a CloudFront Function.

suspend fun getFunction(argument: suspend GetFunctionPlainArgsBuilder.() -> Unit): GetFunctionResult
suspend fun getFunction(name: String, stage: String): GetFunctionResult
Link copied to clipboard

The CloudFront Log Delivery Canonical User ID data source allows access to the canonical user ID of the AWS awslogsdelivery account for CloudFront bucket logging. See the Amazon CloudFront Developer Guide for more information.

Link copied to clipboard

Use this data source to get ARNs, ids and S3 canonical user IDs of Amazon CloudFront origin access identities.

Link copied to clipboard

Use this data source to retrieve information for an Amazon CloudFront origin access identity.

Link copied to clipboard

AWS managed origin request policy names are prefixed with Managed-:

suspend fun getOriginRequestPolicy(id: String? = null, name: String? = null): GetOriginRequestPolicyResult
Link copied to clipboard

Provides a CloudFront real-time log configuration resource.

Link copied to clipboard

Use this data source to retrieve information about a CloudFront cache policy.

suspend fun getResponseHeadersPolicy(id: String? = null, name: String? = null): GetResponseHeadersPolicyResult