libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.AwsVpcConfiguration

Description

 
Synopsis

Documentation

data AwsVpcConfiguration Source #

An object representing the networking details for a task or service.

See: newAwsVpcConfiguration smart constructor.

Constructors

AwsVpcConfiguration' 

Fields

  • securityGroups :: Maybe [Text]

    The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

    All specified security groups must be from the same VPC.

  • assignPublicIp :: Maybe AssignPublicIp

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

  • subnets :: [Text]

    The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

    All specified subnets must be from the same VPC.

Instances

Instances details
Eq AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

Read AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

Show AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

Generic AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

Associated Types

type Rep AwsVpcConfiguration :: Type -> Type #

NFData AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

Methods

rnf :: AwsVpcConfiguration -> () #

Hashable AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

ToJSON AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

FromJSON AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

type Rep AwsVpcConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.AwsVpcConfiguration

type Rep AwsVpcConfiguration = D1 ('MetaData "AwsVpcConfiguration" "Amazonka.ECS.Types.AwsVpcConfiguration" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "AwsVpcConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "assignPublicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssignPublicIp)) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newAwsVpcConfiguration :: AwsVpcConfiguration Source #

Create a value of AwsVpcConfiguration 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:AwsVpcConfiguration', awsVpcConfiguration_securityGroups - The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

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

$sel:subnets:AwsVpcConfiguration', awsVpcConfiguration_subnets - The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text]) Source #

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp) Source #

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

awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text] Source #

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.