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

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 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",
    },
  ],
}

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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.



5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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.

Returns:

  • (String)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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)


5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5426

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