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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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.



5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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)


5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5012

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