Class: AWSCDK::EC2::CfnNetworkInsightsAccessScopeAnalysisProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnNetworkInsightsAccessScopeAnalysisProps
- Defined in:
- ec2/cfn_network_insights_access_scope_analysis_props.rb
Overview
Properties for defining a CfnNetworkInsightsAccessScopeAnalysis.
Instance Attribute Summary collapse
-
#network_insights_access_scope_id ⇒ String
readonly
The ID of the Network Access Scope.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(network_insights_access_scope_id:, tags: nil) ⇒ CfnNetworkInsightsAccessScopeAnalysisProps
constructor
A new instance of CfnNetworkInsightsAccessScopeAnalysisProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(network_insights_access_scope_id:, tags: nil) ⇒ CfnNetworkInsightsAccessScopeAnalysisProps
Returns a new instance of CfnNetworkInsightsAccessScopeAnalysisProps.
11 12 13 14 15 16 |
# File 'ec2/cfn_network_insights_access_scope_analysis_props.rb', line 11 def initialize(network_insights_access_scope_id:, tags: nil) @network_insights_access_scope_id = network_insights_access_scope_id Jsii::Type.check_type(@network_insights_access_scope_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkInsightsAccessScopeId") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#network_insights_access_scope_id ⇒ String (readonly)
The ID of the Network Access Scope.
22 23 24 |
# File 'ec2/cfn_network_insights_access_scope_analysis_props.rb', line 22 def network_insights_access_scope_id @network_insights_access_scope_id end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags.
27 28 29 |
# File 'ec2/cfn_network_insights_access_scope_analysis_props.rb', line 27 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'ec2/cfn_network_insights_access_scope_analysis_props.rb', line 29 def self.jsii_properties { :network_insights_access_scope_id => "networkInsightsAccessScopeId", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'ec2/cfn_network_insights_access_scope_analysis_props.rb', line 36 def to_jsii result = {} result.merge!({ "networkInsightsAccessScopeId" => @network_insights_access_scope_id, "tags" => @tags, }) result.compact end |