Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AwsVpcConfiguration = AwsVpcConfiguration' {
- assignPublicIp :: Maybe AssignPublicIp
- securityGroups :: Maybe [Text]
- subnets :: [Text]
- newAwsVpcConfiguration :: AwsVpcConfiguration
- awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
- awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
- 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:assignPublicIp:AwsVpcConfiguration'
, awsVpcConfiguration_assignPublicIp
- Whether the task's elastic network interface receives a public IP
address. The default value is DISABLED
.
$sel:securityGroups:AwsVpcConfiguration'
, awsVpcConfiguration_securityGroups
- The IDs of the security groups associated with the task or service. If
you don't specify a security group, the default security group for the
VPC is used. There's a limit of 5 security groups that can be specified
per AwsVpcConfiguration
.
All specified security groups must be from the same VPC.
$sel:subnets:AwsVpcConfiguration'
, awsVpcConfiguration_subnets
- The IDs of the subnets associated with the task or service. There's a
limit of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets 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_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text]) Source #
The IDs of the security groups associated with the task or service. If
you don't specify a security group, the default security group for the
VPC is used. There's a limit of 5 security groups that can be specified
per AwsVpcConfiguration
.
All specified security groups must be from the same VPC.
awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text] Source #
The IDs of the subnets associated with the task or service. There's a
limit of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.