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

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

Overview

Constant Summary collapse

SENSITIVE =
[:function_code]

Instance Attribute Summary collapse

Instance Attribute Details

#function_code ⇒ String

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

Returns:

  • (String)


2982
2983
2984
2985
2986
2987
2988
2989
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 2982

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

#function_config ⇒ Types::FunctionConfig

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



2982
2983
2984
2985
2986
2987
2988
2989
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 2982

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

#name ⇒ String

A name to identify the function.

Returns:

  • (String)


2982
2983
2984
2985
2986
2987
2988
2989
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 2982

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

#tags ⇒ Types::Tags

A complex type that contains zero or more Tag elements.

Returns:



2982
2983
2984
2985
2986
2987
2988
2989
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 2982

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