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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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.



8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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)


8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8871

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