View source: R/cloudfront_operations.R
cloudfront_create_function | R Documentation |
Creates a CloudFront function.
See https://www.paws-r-sdk.com/docs/cloudfront_create_function/ for full documentation.
cloudfront_create_function(Name, FunctionConfig, FunctionCode)
Name |
[required] A name to identify the function. |
FunctionConfig |
[required] Configuration information about the function, including an optional comment and the function's runtime. |
FunctionCode |
[required] The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.