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)


9900
9901
9902
9903
9904
9905
9906
9907
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9900

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)


9900
9901
9902
9903
9904
9905
9906
9907
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9900

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)


9900
9901
9902
9903
9904
9905
9906
9907
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9900

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)


9900
9901
9902
9903
9904
9905
9906
9907
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9900

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