Class: Aws::SecurityHub::Types::AwsEc2NetworkAclDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsEc2NetworkAclDetails data as a hash:

{
  is_default: false,
  network_acl_id: "NonEmptyString",
  owner_id: "NonEmptyString",
  vpc_id: "NonEmptyString",
  associations: [
    {
      network_acl_association_id: "NonEmptyString",
      network_acl_id: "NonEmptyString",
      subnet_id: "NonEmptyString",
    },
  ],
  entries: [
    {
      cidr_block: "NonEmptyString",
      egress: false,
      icmp_type_code: {
        code: 1,
        type: 1,
      },
      ipv_6_cidr_block: "NonEmptyString",
      port_range: {
        from: 1,
        to: 1,
      },
      protocol: "NonEmptyString",
      rule_action: "NonEmptyString",
      rule_number: 1,
    },
  ],
}

Contains details about an EC2 network access control list (ACL).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associationsArray<Types::AwsEc2NetworkAclAssociation>

Associations between the network ACL and subnets.



4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#entriesArray<Types::AwsEc2NetworkAclEntry>

The set of rules in the network ACL.

Returns:



4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#is_defaultBoolean

Whether this is the default network ACL for the VPC.

Returns:

  • (Boolean)


4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#network_acl_idString

The identifier of the network ACL.

Returns:

  • (String)


4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The identifier of the Amazon Web Services account that owns the network ACL.

Returns:

  • (String)


4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The identifier of the VPC for the network ACL.

Returns:

  • (String)


4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4325

class AwsEc2NetworkAclDetails < Struct.new(
  :is_default,
  :network_acl_id,
  :owner_id,
  :vpc_id,
  :associations,
  :entries)
  SENSITIVE = []
  include Aws::Structure
end