Class: Aws::SecurityHub::Types::AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

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 AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails data as a hash:

{
  assign_public_ip: "NonEmptyString",
  security_groups: ["NonEmptyString"],
  subnets: ["NonEmptyString"],
}

For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assign_public_ipString

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Valid values: ENABLED | DISABLED

Returns:

  • (String)


6422
6423
6424
6425
6426
6427
6428
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6422

class AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails < Struct.new(
  :assign_public_ip,
  :security_groups,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end

#security_groupsArray<String>

The IDs of the security groups associated with the task or service.

You can provide up to five security groups.

Returns:

  • (Array<String>)


6422
6423
6424
6425
6426
6427
6428
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6422

class AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails < Struct.new(
  :assign_public_ip,
  :security_groups,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end

#subnetsArray<String>

The IDs of the subnets associated with the task or service.

You can provide up to 16 subnets.

Returns:

  • (Array<String>)


6422
6423
6424
6425
6426
6427
6428
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6422

class AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails < Struct.new(
  :assign_public_ip,
  :security_groups,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end