Class: AWSCDK::AppMesh::CfnVirtualNode::AWSCloudMapInstanceAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualNode::AWSCloudMapInstanceAttributeProperty
- Defined in:
- app_mesh/cfn_virtual_node.rb
Overview
An object that represents the AWS Cloud Map attribute information for your virtual node.
AWS Cloud Map is not available in the eu-south-1 Region.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The name of an AWS Cloud Map service instance attribute key.
-
#value ⇒ String
readonly
The value of an AWS Cloud Map service instance attribute key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ AWSCloudMapInstanceAttributeProperty
constructor
A new instance of AWSCloudMapInstanceAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ AWSCloudMapInstanceAttributeProperty
Returns a new instance of AWSCloudMapInstanceAttributeProperty.
666 667 668 669 670 671 |
# File 'app_mesh/cfn_virtual_node.rb', line 666 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The name of an AWS Cloud Map service instance attribute key.
Any AWS Cloud Map service instance that contains the specified key and value is returned.
679 680 681 |
# File 'app_mesh/cfn_virtual_node.rb', line 679 def key @key end |
#value ⇒ String (readonly)
The value of an AWS Cloud Map service instance attribute key.
Any AWS Cloud Map service instance that contains the specified key and value is returned.
686 687 688 |
# File 'app_mesh/cfn_virtual_node.rb', line 686 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
688 689 690 691 692 693 |
# File 'app_mesh/cfn_virtual_node.rb', line 688 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
695 696 697 698 699 700 701 702 |
# File 'app_mesh/cfn_virtual_node.rb', line 695 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |