Class: AWSCDK::CloudFront::CachedMethods
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CloudFront::CachedMethods
- Defined in:
- cloud_front/cached_methods.rb
Overview
The HTTP methods that the Behavior will cache requests on.
Class Method Summary collapse
-
.CACHE_GET_HEAD ⇒ AWSCDK::CloudFront::CachedMethods
HEAD and GET.
-
.CACHE_GET_HEAD_OPTIONS ⇒ AWSCDK::CloudFront::CachedMethods
HEAD, GET, and OPTIONS.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#initialize(*args) ⇒ CachedMethods
constructor
A new instance of CachedMethods.
-
#methods ⇒ Array<String>
HTTP methods supported.
Constructor Details
#initialize(*args) ⇒ CachedMethods
Returns a new instance of CachedMethods.
8 9 10 |
# File 'cloud_front/cached_methods.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_cloudfront.CachedMethods does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.CACHE_GET_HEAD ⇒ AWSCDK::CloudFront::CachedMethods
HEAD and GET.
21 22 23 |
# File 'cloud_front/cached_methods.rb', line 21 def self.CACHE_GET_HEAD() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudfront.CachedMethods", "CACHE_GET_HEAD") end |
.CACHE_GET_HEAD_OPTIONS ⇒ AWSCDK::CloudFront::CachedMethods
HEAD, GET, and OPTIONS.
28 29 30 |
# File 'cloud_front/cached_methods.rb', line 28 def self.CACHE_GET_HEAD_OPTIONS() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_cloudfront.CachedMethods", "CACHE_GET_HEAD_OPTIONS") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'cloud_front/cached_methods.rb', line 12 def self.jsii_overridable_methods { :methods => { kind: :property, name: "methods", is_optional: false }, } end |
Instance Method Details
#methods ⇒ Array<String>
HTTP methods supported.
35 36 37 |
# File 'cloud_front/cached_methods.rb', line 35 def methods() jsii_get_property("methods") end |