Class: AWSCDK::CloudFront::CfnConnectionFunction::ConnectionFunctionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnConnectionFunction::ConnectionFunctionConfigProperty
- Defined in:
- cloud_front/cfn_connection_function.rb
Overview
Contains configuration information about a CloudFront function.
Instance Attribute Summary collapse
-
#comment ⇒ String
readonly
A comment to describe the function.
-
#key_value_store_associations ⇒ AWSCDK::IResolvable, ...
readonly
The configuration for the key value store associations.
-
#runtime ⇒ String
readonly
The function's runtime environment version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(comment:, runtime:, key_value_store_associations: nil) ⇒ ConnectionFunctionConfigProperty
constructor
A new instance of ConnectionFunctionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(comment:, runtime:, key_value_store_associations: nil) ⇒ ConnectionFunctionConfigProperty
Returns a new instance of ConnectionFunctionConfigProperty.
620 621 622 623 624 625 626 627 |
# File 'cloud_front/cfn_connection_function.rb', line 620 def initialize(comment:, runtime:, key_value_store_associations: nil) @comment = comment Jsii::Type.check_type(@comment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comment") @runtime = runtime Jsii::Type.check_type(@runtime, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "runtime") @key_value_store_associations = key_value_store_associations Jsii::Type.check_type(@key_value_store_associations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWRmcm9udC5DZm5Db25uZWN0aW9uRnVuY3Rpb24uS2V5VmFsdWVTdG9yZUFzc29jaWF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "keyValueStoreAssociations") unless @key_value_store_associations.nil? end |
Instance Attribute Details
#comment ⇒ String (readonly)
A comment to describe the function.
633 634 635 |
# File 'cloud_front/cfn_connection_function.rb', line 633 def comment @comment end |
#key_value_store_associations ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration for the key value store associations.
643 644 645 |
# File 'cloud_front/cfn_connection_function.rb', line 643 def key_value_store_associations @key_value_store_associations end |
#runtime ⇒ String (readonly)
The function's runtime environment version.
638 639 640 |
# File 'cloud_front/cfn_connection_function.rb', line 638 def runtime @runtime end |
Class Method Details
.jsii_properties ⇒ Object
645 646 647 648 649 650 651 |
# File 'cloud_front/cfn_connection_function.rb', line 645 def self.jsii_properties { :comment => "comment", :runtime => "runtime", :key_value_store_associations => "keyValueStoreAssociations", } end |
Instance Method Details
#to_jsii ⇒ Object
653 654 655 656 657 658 659 660 661 |
# File 'cloud_front/cfn_connection_function.rb', line 653 def to_jsii result = {} result.merge!({ "comment" => @comment, "runtime" => @runtime, "keyValueStoreAssociations" => @key_value_store_associations, }) result.compact end |