Class: Aws::SecurityHub::Types::AwsEc2SubnetDetails

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

Overview

Contains information about a subnet in Amazon EC2.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assign_ipv_6_address_on_creationBoolean

Whether to assign an IPV6 address to a network interface that is created in this subnet.

Returns:

  • (Boolean)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone for the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_idString

The identifier of the Availability Zone for the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#available_ip_address_countInteger

The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

Returns:

  • (Integer)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#cidr_blockString

The IPV4 CIDR block that is assigned to the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#default_for_azBoolean

Whether this subnet is the default subnet for the Availability Zone.

Returns:

  • (Boolean)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_cidr_block_association_setArray<Types::Ipv6CidrBlockAssociation>

The IPV6 CIDR blocks that are associated with the subnet.



8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#map_public_ip_on_launchBoolean

Whether instances in this subnet receive a public IP address.

Returns:

  • (Boolean)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The identifier of the Amazon Web Services account that owns the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the subnet. Valid values are ‘available` or `pending`.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_arnString

The ARN of the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The identifier of the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The identifier of the VPC that contains the subnet.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
# File 'lib/aws-sdk-securityhub/types.rb', line 8740

class AwsEc2SubnetDetails < Struct.new(
  :assign_ipv_6_address_on_creation,
  :availability_zone,
  :availability_zone_id,
  :available_ip_address_count,
  :cidr_block,
  :default_for_az,
  :map_public_ip_on_launch,
  :owner_id,
  :state,
  :subnet_arn,
  :subnet_id,
  :vpc_id,
  :ipv_6_cidr_block_association_set)
  SENSITIVE = []
  include Aws::Structure
end