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 |
Synopsis
- data AwsVpcConfiguration = AwsVpcConfiguration' {
- securityGroups :: Maybe [Text]
- assignPublicIp :: Maybe AssignPublicIp
- subnets :: [Text]
- newAwsVpcConfiguration :: AwsVpcConfiguration
- awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
- awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
- awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
Documentation
data AwsVpcConfiguration Source #
An object representing the networking details for a task or service.
See: newAwsVpcConfiguration
smart constructor.
AwsVpcConfiguration' | |
|
Instances
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.