| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails
Description
Synopsis
- data AwsEcsServiceServiceRegistriesDetails = AwsEcsServiceServiceRegistriesDetails' {
- containerName :: Maybe Text
- registryArn :: Maybe Text
- containerPort :: Maybe Int
- port :: Maybe Int
- newAwsEcsServiceServiceRegistriesDetails :: AwsEcsServiceServiceRegistriesDetails
- awsEcsServiceServiceRegistriesDetails_containerName :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Text)
- awsEcsServiceServiceRegistriesDetails_registryArn :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Text)
- awsEcsServiceServiceRegistriesDetails_containerPort :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Int)
- awsEcsServiceServiceRegistriesDetails_port :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Int)
Documentation
data AwsEcsServiceServiceRegistriesDetails Source #
Information about a service discovery registry to assign to the service.
See: newAwsEcsServiceServiceRegistriesDetails smart constructor.
Constructors
| AwsEcsServiceServiceRegistriesDetails' | |
Fields
| |
Instances
newAwsEcsServiceServiceRegistriesDetails :: AwsEcsServiceServiceRegistriesDetails Source #
Create a value of AwsEcsServiceServiceRegistriesDetails with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerName:AwsEcsServiceServiceRegistriesDetails', awsEcsServiceServiceRegistriesDetails_containerName - 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.
$sel:registryArn:AwsEcsServiceServiceRegistriesDetails', awsEcsServiceServiceRegistriesDetails_registryArn - The ARN of the service registry.
$sel:containerPort:AwsEcsServiceServiceRegistriesDetails', awsEcsServiceServiceRegistriesDetails_containerPort - 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.
$sel:port:AwsEcsServiceServiceRegistriesDetails', awsEcsServiceServiceRegistriesDetails_port - 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.
awsEcsServiceServiceRegistriesDetails_containerName :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Text) Source #
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.
awsEcsServiceServiceRegistriesDetails_registryArn :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Text) Source #
The ARN of the service registry.
awsEcsServiceServiceRegistriesDetails_containerPort :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Int) Source #
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.
awsEcsServiceServiceRegistriesDetails_port :: Lens' AwsEcsServiceServiceRegistriesDetails (Maybe Int) Source #
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.