Method: Aws::CloudFront::Types::CreateFunctionRequest#function_code

Defined in:
lib/aws-sdk-cloudfront/types.rb

#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)


2001
2002
2003
2004
2005
2006
2007
# File 'lib/aws-sdk-cloudfront/types.rb', line 2001

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