Class: AWSCDK::MediaConnect::CfnRouterNetworkInterface::PublicRouterNetworkInterfaceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterNetworkInterface::PublicRouterNetworkInterfaceConfigurationProperty
- Defined in:
- media_connect/cfn_router_network_interface.rb
Overview
The configuration settings for a public router network interface, including the list of allowed CIDR blocks.
Instance Attribute Summary collapse
-
#allow_rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterNetworkInterface::PublicRouterNetworkInterfaceRuleProperty>
readonly
The list of allowed CIDR blocks for the public router network interface.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_rules:) ⇒ PublicRouterNetworkInterfaceConfigurationProperty
constructor
A new instance of PublicRouterNetworkInterfaceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_rules:) ⇒ PublicRouterNetworkInterfaceConfigurationProperty
Returns a new instance of PublicRouterNetworkInterfaceConfigurationProperty.
613 614 615 616 |
# File 'media_connect/cfn_router_network_interface.rb', line 613 def initialize(allow_rules:) @allow_rules = allow_rules Jsii::Type.check_type(@allow_rules, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmblJvdXRlck5ldHdvcmtJbnRlcmZhY2UuUHVibGljUm91dGVyTmV0d29ya0ludGVyZmFjZVJ1bGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "allowRules") end |
Instance Attribute Details
#allow_rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterNetworkInterface::PublicRouterNetworkInterfaceRuleProperty> (readonly)
The list of allowed CIDR blocks for the public router network interface.
622 623 624 |
# File 'media_connect/cfn_router_network_interface.rb', line 622 def allow_rules @allow_rules end |
Class Method Details
.jsii_properties ⇒ Object
624 625 626 627 628 |
# File 'media_connect/cfn_router_network_interface.rb', line 624 def self.jsii_properties { :allow_rules => "allowRules", } end |
Instance Method Details
#to_jsii ⇒ Object
630 631 632 633 634 635 636 |
# File 'media_connect/cfn_router_network_interface.rb', line 630 def to_jsii result = {} result.merge!({ "allowRules" => @allow_rules, }) result.compact end |