@Stability(value=Stable) public static final class CfnJobDefinition.NetworkConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.NetworkConfigurationProperty>
CfnJobDefinition.NetworkConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.NetworkConfigurationProperty.Builder |
assignPublicIp(String assignPublicIp)
Sets the value of
CfnJobDefinition.NetworkConfigurationProperty.getAssignPublicIp() |
CfnJobDefinition.NetworkConfigurationProperty |
build()
Builds the configured instance.
|
@Stability(value=Stable) public CfnJobDefinition.NetworkConfigurationProperty.Builder assignPublicIp(String assignPublicIp)
CfnJobDefinition.NetworkConfigurationProperty.getAssignPublicIp()assignPublicIp - Indicates whether the job should have a public IP address.
For a job that is running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking . The default value is "DISABLED".this@Stability(value=Stable) public CfnJobDefinition.NetworkConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.NetworkConfigurationProperty>CfnJobDefinition.NetworkConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.