class Aws::CloudFront::Types::CreateFunctionRequest

@note When making an API call, you may pass CreateFunctionRequest

data as a hash:

    {
      name: "FunctionName", # required
      function_config: { # required
        comment: "string", # required
        runtime: "cloudfront-js-1.0", # required, accepts cloudfront-js-1.0
      },
      function_code: "data", # required
    }

@!attribute [rw] name

A name to identify the function.
@return [String]

@!attribute [rw] function_config

Configuration information about the function, including an optional
comment and the function’s runtime.
@return [Types::FunctionConfig]

@!attribute [rw] function_code

The function code. For more information about writing a CloudFront
function, see [Writing function code for CloudFront Functions][1] in
the *Amazon CloudFront Developer Guide*.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunctionRequest AWS API Documentation

Constants

SENSITIVE