Class: Aws::CloudFront::Types::FunctionMetadata
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::FunctionMetadata
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
Contains metadata about a CloudFront function.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#created_time ⇒ Time
The date and time when the function was created.
-
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the function.
-
#last_modified_time ⇒ Time
The date and time when the function was most recently updated.
-
#stage ⇒ String
The stage that the function is in, either
DEVELOPMENT
orLIVE
.
Instance Attribute Details
#created_time ⇒ Time
The date and time when the function was created.
5155 5156 5157 5158 5159 5160 5161 5162 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5155 class FunctionMetadata < Struct.new( :function_arn, :stage, :created_time, :last_modified_time) SENSITIVE = [] include Aws::Structure end |
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
5155 5156 5157 5158 5159 5160 5161 5162 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5155 class FunctionMetadata < Struct.new( :function_arn, :stage, :created_time, :last_modified_time) SENSITIVE = [] include Aws::Structure end |
#last_modified_time ⇒ Time
The date and time when the function was most recently updated.
5155 5156 5157 5158 5159 5160 5161 5162 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5155 class FunctionMetadata < Struct.new( :function_arn, :stage, :created_time, :last_modified_time) SENSITIVE = [] include Aws::Structure end |
#stage ⇒ String
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.
5155 5156 5157 5158 5159 5160 5161 5162 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 5155 class FunctionMetadata < Struct.new( :function_arn, :stage, :created_time, :last_modified_time) SENSITIVE = [] include Aws::Structure end |