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

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


10450
10451
10452
10453
10454
10455
10456
10457
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10450

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)


10450
10451
10452
10453
10454
10455
10456
10457
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10450

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 awsvpcawsvpc network mode and SRV records are used.

Returns:

  • (Integer)


10450
10451
10452
10453
10454
10455
10456
10457
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10450

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)


10450
10451
10452
10453
10454
10455
10456
10457
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10450

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