Class: AWSCDK::FMS::CfnPolicy::NetworkAclCommonPolicyProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(network_acl_entry_set:) ⇒ NetworkAclCommonPolicyProperty

Returns a new instance of NetworkAclCommonPolicyProperty.

Parameters:



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_setAWSCDK::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_propertiesObject



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_jsiiObject



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