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

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

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

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)


6586
6587
6588
6589
6590
6591
6592
6593
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6586

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)


6586
6587
6588
6589
6590
6591
6592
6593
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6586

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)


6586
6587
6588
6589
6590
6591
6592
6593
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6586

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)


6586
6587
6588
6589
6590
6591
6592
6593
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6586

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