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

Description

 
Synopsis

Documentation

data AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source #

For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.

See: newAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails smart constructor.

Constructors

AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails' 

Fields

  • securityGroups :: Maybe [Text]

    The IDs of the security groups associated with the task or service.

    You can provide up to five security groups.

  • subnets :: Maybe [Text]

    The IDs of the subnets associated with the task or service.

    You can provide up to 16 subnets.

  • assignPublicIp :: Maybe Text

    Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

    Valid values: ENABLED | DISABLED

Instances

Instances details
Eq AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

Read AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

Show AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

Generic AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

NFData AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

Hashable AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

ToJSON AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

FromJSON AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

type Rep AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails

type Rep AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails = D1 ('MetaData "AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "assignPublicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails :: AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source #

Create a value of AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails 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:securityGroups:AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails', awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_securityGroups - The IDs of the security groups associated with the task or service.

You can provide up to five security groups.

$sel:subnets:AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails', awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_subnets - The IDs of the subnets associated with the task or service.

You can provide up to 16 subnets.

$sel:assignPublicIp:AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails', awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_assignPublicIp - Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Valid values: ENABLED | DISABLED

awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_securityGroups :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe [Text]) Source #

The IDs of the security groups associated with the task or service.

You can provide up to five security groups.

awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_subnets :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe [Text]) Source #

The IDs of the subnets associated with the task or service.

You can provide up to 16 subnets.

awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_assignPublicIp :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe Text) Source #

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Valid values: ENABLED | DISABLED