Class: Aws::CloudFront::Types::CreateFunctionRequest

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)


2007
2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-cloudfront/types.rb', line 2007

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

#function_configTypes::FunctionConfig

Configuration information about the function, including an optional comment and the function’s runtime.



2007
2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-cloudfront/types.rb', line 2007

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

#nameString

A name to identify the function.

Returns:

  • (String)


2007
2008
2009
2010
2011
2012
2013
# File 'lib/aws-sdk-cloudfront/types.rb', line 2007

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