Class: AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnNetworkInsightsAnalysis::AnalysisComponentProperty
- Defined in:
- ec2/cfn_network_insights_analysis.rb
Overview
Describes a path component.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the component.
-
#id ⇒ String?
readonly
The ID of the component.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, id: nil) ⇒ AnalysisComponentProperty
constructor
A new instance of AnalysisComponentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, id: nil) ⇒ AnalysisComponentProperty
Returns a new instance of AnalysisComponentProperty.
869 870 871 872 873 874 |
# File 'ec2/cfn_network_insights_analysis.rb', line 869 def initialize(arn: nil, id: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the component.
880 881 882 |
# File 'ec2/cfn_network_insights_analysis.rb', line 880 def arn @arn end |
#id ⇒ String? (readonly)
The ID of the component.
885 886 887 |
# File 'ec2/cfn_network_insights_analysis.rb', line 885 def id @id end |
Class Method Details
.jsii_properties ⇒ Object
887 888 889 890 891 892 |
# File 'ec2/cfn_network_insights_analysis.rb', line 887 def self.jsii_properties { :arn => "arn", :id => "id", } end |
Instance Method Details
#to_jsii ⇒ Object
894 895 896 897 898 899 900 901 |
# File 'ec2/cfn_network_insights_analysis.rb', line 894 def to_jsii result = {} result.merge!({ "arn" => @arn, "id" => @id, }) result.compact end |