libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

Description

 
Synopsis

Documentation

data AwsEcsServiceServiceRegistriesDetails Source #

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

See: newAwsEcsServiceServiceRegistriesDetails smart constructor.

Constructors

AwsEcsServiceServiceRegistriesDetails' 

Fields

  • containerName :: Maybe Text

    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.

  • registryArn :: Maybe Text

    The ARN of the service registry.

  • containerPort :: Maybe Int

    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.

  • port :: Maybe Int

    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.

Instances

Instances details
Eq AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

Read AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

Show AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

Generic AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

NFData AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

Hashable AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

ToJSON AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

FromJSON AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

type Rep AwsEcsServiceServiceRegistriesDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails

type Rep AwsEcsServiceServiceRegistriesDetails = D1 ('MetaData "AwsEcsServiceServiceRegistriesDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceServiceRegistriesDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceServiceRegistriesDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "registryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "containerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

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_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.