Class: AWSCDK::EC2::CfnNetworkInsightsAccessScope::ThroughResourcesStatementRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnNetworkInsightsAccessScope::ThroughResourcesStatementRequestProperty
- Defined in:
- ec2/cfn_network_insights_access_scope.rb
Overview
Describes a through resource statement.
Instance Attribute Summary collapse
-
#resource_statement ⇒ AWSCDK::IResolvable, ...
readonly
The resource statement.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_statement: nil) ⇒ ThroughResourcesStatementRequestProperty
constructor
A new instance of ThroughResourcesStatementRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_statement: nil) ⇒ ThroughResourcesStatementRequestProperty
Returns a new instance of ThroughResourcesStatementRequestProperty.
829 830 831 832 |
# File 'ec2/cfn_network_insights_access_scope.rb', line 829 def initialize(resource_statement: nil) @resource_statement = resource_statement.is_a?(Hash) ? ::AWSCDK::EC2::CfnNetworkInsightsAccessScope::ResourceStatementRequestProperty.new(**resource_statement.transform_keys(&:to_sym)) : resource_statement Jsii::Type.check_type(@resource_statement, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuQ2ZuTmV0d29ya0luc2lnaHRzQWNjZXNzU2NvcGUuUmVzb3VyY2VTdGF0ZW1lbnRSZXF1ZXN0UHJvcGVydHkifV19fQ==")), "resourceStatement") unless @resource_statement.nil? end |
Instance Attribute Details
#resource_statement ⇒ AWSCDK::IResolvable, ... (readonly)
The resource statement.
838 839 840 |
# File 'ec2/cfn_network_insights_access_scope.rb', line 838 def resource_statement @resource_statement end |
Class Method Details
.jsii_properties ⇒ Object
840 841 842 843 844 |
# File 'ec2/cfn_network_insights_access_scope.rb', line 840 def self.jsii_properties { :resource_statement => "resourceStatement", } end |
Instance Method Details
#to_jsii ⇒ Object
846 847 848 849 850 851 852 |
# File 'ec2/cfn_network_insights_access_scope.rb', line 846 def to_jsii result = {} result.merge!({ "resourceStatement" => @resource_statement, }) result.compact end |