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 AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails = AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails' {
- securityGroups :: Maybe [Text]
- subnets :: Maybe [Text]
- assignPublicIp :: Maybe Text
- newAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails :: AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
- awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_securityGroups :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe [Text])
- awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_subnets :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe [Text])
- awsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails_assignPublicIp :: Lens' AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails (Maybe Text)
Documentation
data AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails Source #
For tasks that use the awsvpc
networking mode, the VPC subnet and
security group configuration.
See: newAwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
smart constructor.
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails' | |
|
Instances
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