Class: AWSCDK::EC2::CfnNetworkInsightsAnalysis::AlternatePathHintProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnNetworkInsightsAnalysis::AlternatePathHintProperty
- Defined in:
- ec2/cfn_network_insights_analysis.rb
Overview
Describes an potential intermediate component of a feasible path.
Instance Attribute Summary collapse
-
#component_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the component.
-
#component_id ⇒ String?
readonly
The ID of the component.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(component_arn: nil, component_id: nil) ⇒ AlternatePathHintProperty
constructor
A new instance of AlternatePathHintProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(component_arn: nil, component_id: nil) ⇒ AlternatePathHintProperty
Returns a new instance of AlternatePathHintProperty.
743 744 745 746 747 748 |
# File 'ec2/cfn_network_insights_analysis.rb', line 743 def initialize(component_arn: nil, component_id: nil) @component_arn = component_arn Jsii::Type.check_type(@component_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "componentArn") unless @component_arn.nil? @component_id = component_id Jsii::Type.check_type(@component_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "componentId") unless @component_id.nil? end |
Instance Attribute Details
#component_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the component.
754 755 756 |
# File 'ec2/cfn_network_insights_analysis.rb', line 754 def component_arn @component_arn end |
#component_id ⇒ String? (readonly)
The ID of the component.
759 760 761 |
# File 'ec2/cfn_network_insights_analysis.rb', line 759 def component_id @component_id end |
Class Method Details
.jsii_properties ⇒ Object
761 762 763 764 765 766 |
# File 'ec2/cfn_network_insights_analysis.rb', line 761 def self.jsii_properties { :component_arn => "componentArn", :component_id => "componentId", } end |
Instance Method Details
#to_jsii ⇒ Object
768 769 770 771 772 773 774 775 |
# File 'ec2/cfn_network_insights_analysis.rb', line 768 def to_jsii result = {} result.merge!({ "componentArn" => @component_arn, "componentId" => @component_id, }) result.compact end |