Class: Aws::SecurityHub::Types::AwsEcsServiceServiceRegistriesDetails

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

Overview

Information about a service discovery registry to assign to the service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The container name value to use for the service discovery service.

If the task definition uses the ‘bridge` or `host` network mode, you must specify `ContainerName` and `ContainerPort`.

If the task definition uses the ‘awsvpc` network mode and a type SRV DNS record, you must specify either `ContainerName` and `ContainerPort`, or `Port` , but not both.

Returns:

  • (String)


10320
10321
10322
10323
10324
10325
10326
10327
# File 'lib/aws-sdk-securityhub/types.rb', line 10320

class AwsEcsServiceServiceRegistriesDetails < Struct.new(
  :container_name,
  :container_port,
  :port,
  :registry_arn)
  SENSITIVE = []
  include Aws::Structure
end

#container_portInteger

The port value to use for the service discovery service.

If the task definition uses the ‘bridge` or `host` network mode, you must specify `ContainerName` and `ContainerPort`.

If the task definition uses the ‘awsvpc` network mode and a type SRV DNS record, you must specify either `ContainerName` and `ContainerPort`, or `Port` , but not both.

Returns:

  • (Integer)


10320
10321
10322
10323
10324
10325
10326
10327
# File 'lib/aws-sdk-securityhub/types.rb', line 10320

class AwsEcsServiceServiceRegistriesDetails < Struct.new(
  :container_name,
  :container_port,
  :port,
  :registry_arn)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the ‘awsvpc`awsvpc network mode and SRV records are used.

Returns:

  • (Integer)


10320
10321
10322
10323
10324
10325
10326
10327
# File 'lib/aws-sdk-securityhub/types.rb', line 10320

class AwsEcsServiceServiceRegistriesDetails < Struct.new(
  :container_name,
  :container_port,
  :port,
  :registry_arn)
  SENSITIVE = []
  include Aws::Structure
end

#registry_arnString

The ARN of the service registry.

Returns:

  • (String)


10320
10321
10322
10323
10324
10325
10326
10327
# File 'lib/aws-sdk-securityhub/types.rb', line 10320

class AwsEcsServiceServiceRegistriesDetails < Struct.new(
  :container_name,
  :container_port,
  :port,
  :registry_arn)
  SENSITIVE = []
  include Aws::Structure
end