Class: AWSCDK::MediaConnect::CfnRouterNetworkInterface::PublicRouterNetworkInterfaceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allow_rules:) ⇒ PublicRouterNetworkInterfaceConfigurationProperty

Returns a new instance of PublicRouterNetworkInterfaceConfigurationProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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