class Aws::SecurityHub::Types::AwsEcsServiceServiceRegistriesDetails

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

@note When making an API call, you may pass AwsEcsServiceServiceRegistriesDetails

data as a hash:

    {
      container_name: "NonEmptyString",
      container_port: 1,
      port: 1,
      registry_arn: "NonEmptyString",
    }

@!attribute [rw] container_name

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.
@return [String]

@!attribute [rw] container_port

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.
@return [Integer]

@!attribute [rw] port

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.
@return [Integer]

@!attribute [rw] registry_arn

The ARN of the service registry.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEcsServiceServiceRegistriesDetails AWS API Documentation

Constants

SENSITIVE