Class: AWSCDK::FMS::CfnPolicy::NetworkAclCommonPolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FMS::CfnPolicy::NetworkAclCommonPolicyProperty
- Defined in:
- fms/cfn_policy.rb
Overview
Defines a Firewall Manager network ACL policy.
This is used in the PolicyOption of a SecurityServicePolicyData for a Policy , when the SecurityServicePolicyData type is set to NETWORK_ACL_COMMON .
For information about network ACLs, see Control traffic to subnets using network ACLs in the Amazon Virtual Private Cloud User Guide .
Instance Attribute Summary collapse
-
#network_acl_entry_set ⇒ AWSCDK::IResolvable, AWSCDK::FMS::CfnPolicy::NetworkAclEntrySetProperty
readonly
The definition of the first and last rules for the network ACL policy.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(network_acl_entry_set:) ⇒ NetworkAclCommonPolicyProperty
constructor
A new instance of NetworkAclCommonPolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(network_acl_entry_set:) ⇒ NetworkAclCommonPolicyProperty
Returns a new instance of NetworkAclCommonPolicyProperty.
830 831 832 833 |
# File 'fms/cfn_policy.rb', line 830 def initialize(network_acl_entry_set:) @network_acl_entry_set = network_acl_entry_set.is_a?(Hash) ? ::AWSCDK::FMS::CfnPolicy::NetworkAclEntrySetProperty.new(**network_acl_entry_set.transform_keys(&:to_sym)) : network_acl_entry_set Jsii::Type.check_type(@network_acl_entry_set, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19mbXMuQ2ZuUG9saWN5Lk5ldHdvcmtBY2xFbnRyeVNldFByb3BlcnR5In1dfX0=")), "networkAclEntrySet") end |
Instance Attribute Details
#network_acl_entry_set ⇒ AWSCDK::IResolvable, AWSCDK::FMS::CfnPolicy::NetworkAclEntrySetProperty (readonly)
The definition of the first and last rules for the network ACL policy.
839 840 841 |
# File 'fms/cfn_policy.rb', line 839 def network_acl_entry_set @network_acl_entry_set end |
Class Method Details
.jsii_properties ⇒ Object
841 842 843 844 845 |
# File 'fms/cfn_policy.rb', line 841 def self.jsii_properties { :network_acl_entry_set => "networkAclEntrySet", } end |
Instance Method Details
#to_jsii ⇒ Object
847 848 849 850 851 852 853 |
# File 'fms/cfn_policy.rb', line 847 def to_jsii result = {} result.merge!({ "networkAclEntrySet" => @network_acl_entry_set, }) result.compact end |