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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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)


6193
6194
6195
6196
6197
6198
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6193

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)


6193
6194
6195
6196
6197
6198
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 6193

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