Class: Aws::CloudFront::Types::UpdateFunctionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:function_code]

Instance Attribute Summary collapse

Instance Attribute Details

#function_codeString

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

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

Returns:

  • (String)


13236
13237
13238
13239
13240
13241
13242
13243
# File 'lib/aws-sdk-cloudfront/types.rb', line 13236

class UpdateFunctionRequest < Struct.new(
  :name,
  :if_match,
  :function_config,
  :function_code)
  SENSITIVE = [:function_code]
  include Aws::Structure
end

#function_configTypes::FunctionConfig

Configuration information about the function.



13236
13237
13238
13239
13240
13241
13242
13243
# File 'lib/aws-sdk-cloudfront/types.rb', line 13236

class UpdateFunctionRequest < Struct.new(
  :name,
  :if_match,
  :function_config,
  :function_code)
  SENSITIVE = [:function_code]
  include Aws::Structure
end

#if_matchString

The current version (‘ETag` value) of the function that you are updating, which you can get using `DescribeFunction`.

Returns:

  • (String)


13236
13237
13238
13239
13240
13241
13242
13243
# File 'lib/aws-sdk-cloudfront/types.rb', line 13236

class UpdateFunctionRequest < Struct.new(
  :name,
  :if_match,
  :function_config,
  :function_code)
  SENSITIVE = [:function_code]
  include Aws::Structure
end

#nameString

The name of the function that you are updating.

Returns:

  • (String)


13236
13237
13238
13239
13240
13241
13242
13243
# File 'lib/aws-sdk-cloudfront/types.rb', line 13236

class UpdateFunctionRequest < Struct.new(
  :name,
  :if_match,
  :function_config,
  :function_code)
  SENSITIVE = [:function_code]
  include Aws::Structure
end