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

Description

 
Synopsis

Documentation

data AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source #

A port mapping for the container.

See: newAwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails smart constructor.

Constructors

AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails' 

Fields

  • protocol :: Maybe Text

    The protocol used for the port mapping. The default is tcp.

  • hostPort :: Maybe Int

    The port number on the container instance to reserve for the container.

  • containerPort :: Maybe Int

    The port number on the container that is bound to the user-specified or automatically assigned host port.

Instances

Instances details
Eq AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

Read AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

Show AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

Generic AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

NFData AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

Hashable AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

ToJSON AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

FromJSON AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails

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

newAwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails :: AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails Source #

Create a value of AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails 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:protocol:AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails', awsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails_protocol - The protocol used for the port mapping. The default is tcp.

$sel:hostPort:AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails', awsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails_hostPort - The port number on the container instance to reserve for the container.

$sel:containerPort:AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails', awsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails_containerPort - The port number on the container that is bound to the user-specified or automatically assigned host port.

awsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails_containerPort :: Lens' AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails (Maybe Int) Source #

The port number on the container that is bound to the user-specified or automatically assigned host port.