class Aws::SecurityHub::Types::AwsEc2SubnetDetails

Contains information about a subnet in Amazon EC2.

@note When making an API call, you may pass AwsEc2SubnetDetails

data as a hash:

    {
      assign_ipv_6_address_on_creation: false,
      availability_zone: "NonEmptyString",
      availability_zone_id: "NonEmptyString",
      available_ip_address_count: 1,
      cidr_block: "NonEmptyString",
      default_for_az: false,
      map_public_ip_on_launch: false,
      owner_id: "NonEmptyString",
      state: "NonEmptyString",
      subnet_arn: "NonEmptyString",
      subnet_id: "NonEmptyString",
      vpc_id: "NonEmptyString",
      ipv_6_cidr_block_association_set: [
        {
          association_id: "NonEmptyString",
          ipv_6_cidr_block: "NonEmptyString",
          cidr_block_state: "NonEmptyString",
        },
      ],
    }

@!attribute [rw] assign_ipv_6_address_on_creation

Whether to assign an IPV6 address to a network interface that is
created in this subnet.
@return [Boolean]

@!attribute [rw] availability_zone

The Availability Zone for the subnet.
@return [String]

@!attribute [rw] availability_zone_id

The identifier of the Availability Zone for the subnet.
@return [String]

@!attribute [rw] available_ip_address_count

The number of available IPV4 addresses in the subnet. Does not
include addresses for stopped instances.
@return [Integer]

@!attribute [rw] cidr_block

The IPV4 CIDR block that is assigned to the subnet.
@return [String]

@!attribute [rw] default_for_az

Whether this subnet is the default subnet for the Availability Zone.
@return [Boolean]

@!attribute [rw] map_public_ip_on_launch

Whether instances in this subnet receive a public IP address.
@return [Boolean]

@!attribute [rw] owner_id

The identifier of the Amazon Web Services account that owns the
subnet.
@return [String]

@!attribute [rw] state

The current state of the subnet.
@return [String]

@!attribute [rw] subnet_arn

The ARN of the subnet.
@return [String]

@!attribute [rw] subnet_id

The identifier of the subnet.
@return [String]

@!attribute [rw] vpc_id

The identifier of the VPC that contains the subnet.
@return [String]

@!attribute [rw] ipv_6_cidr_block_association_set

The IPV6 CIDR blocks that are associated with the subnet.
@return [Array<Types::Ipv6CidrBlockAssociation>]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2SubnetDetails AWS API Documentation

Constants

SENSITIVE