Class: Aws::CloudFront::Types::FunctionMetadata

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

Overview

Contains metadata about a CloudFront function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_timeTime

The date and time when the function was created.

Returns:

  • (Time)


4849
4850
4851
4852
4853
4854
4855
4856
# File 'lib/aws-sdk-cloudfront/types.rb', line 4849

class FunctionMetadata < Struct.new(
  :function_arn,
  :stage,
  :created_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

Returns:

  • (String)


4849
4850
4851
4852
4853
4854
4855
4856
# File 'lib/aws-sdk-cloudfront/types.rb', line 4849

class FunctionMetadata < Struct.new(
  :function_arn,
  :stage,
  :created_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_timeTime

The date and time when the function was most recently updated.

Returns:

  • (Time)


4849
4850
4851
4852
4853
4854
4855
4856
# File 'lib/aws-sdk-cloudfront/types.rb', line 4849

class FunctionMetadata < Struct.new(
  :function_arn,
  :stage,
  :created_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end

#stageString

The stage that the function is in, either ‘DEVELOPMENT` or `LIVE`.

When a function is in the ‘DEVELOPMENT` stage, you can test the function with `TestFunction`, and update it with `UpdateFunction`.

When a function is in the ‘LIVE` stage, you can attach the function to a distribution’s cache behavior, using the function’s ARN.

Returns:

  • (String)


4849
4850
4851
4852
4853
4854
4855
4856
# File 'lib/aws-sdk-cloudfront/types.rb', line 4849

class FunctionMetadata < Struct.new(
  :function_arn,
  :stage,
  :created_time,
  :last_modified_time)
  SENSITIVE = []
  include Aws::Structure
end