Function Args
data class FunctionArgs(val autoPublish: Output<Boolean>? = null, val functionCode: Output<String>? = null, val functionConfig: Output<FunctionConfigArgs>? = null, val functionMetadata: Output<FunctionMetadataArgs>? = null, val name: Output<String>? = null) : ConvertibleToJava<FunctionArgs>
Resource Type definition for AWS::CloudFront::Function
Constructors
Link copied to clipboard
constructor(autoPublish: Output<Boolean>? = null, functionCode: Output<String>? = null, functionConfig: Output<FunctionConfigArgs>? = null, functionMetadata: Output<FunctionMetadataArgs>? = null, name: Output<String>? = null)
Properties
Link copied to clipboard
A flag that determines whether to automatically publish the function to the LIVE
stage when it’s created. To automatically publish to the LIVE
stage, set this property to true
.
Link copied to clipboard
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide .
Link copied to clipboard
Contains configuration information about a CloudFront function.
Link copied to clipboard
Contains metadata about a CloudFront function.