Class: Aws::CloudFront::Types::FunctionConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass FunctionConfig data as a hash:

{
  comment: "string", # required
  runtime: "cloudfront-js-1.0", # required, accepts cloudfront-js-1.0
}

Contains configuration information about a CloudFront function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A comment to describe the function.

Returns:

  • (String)


6096
6097
6098
6099
6100
6101
# File 'lib/aws-sdk-cloudfront/types.rb', line 6096

class FunctionConfig < Struct.new(
  :comment,
  :runtime)
  SENSITIVE = []
  include Aws::Structure
end

#runtimeString

The function’s runtime environment. The only valid value is ‘cloudfront-js-1.0`.

Returns:

  • (String)


6096
6097
6098
6099
6100
6101
# File 'lib/aws-sdk-cloudfront/types.rb', line 6096

class FunctionConfig < Struct.new(
  :comment,
  :runtime)
  SENSITIVE = []
  include Aws::Structure
end