ServiceRegistry
public struct ServiceRegistry : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
Declaration
Swift
public let containerName: String?
-
The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both.
Declaration
Swift
public let containerPort: Int?
-
The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used.
Declaration
Swift
public let port: Int?
-
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see CreateService.
Declaration
Swift
public let registryArn: String?
-
Undocumented
Declaration
Swift
public init(containerName: String? = nil, containerPort: Int? = nil, port: Int? = nil, registryArn: String? = nil)