@Stability(value=Stable) public static final class CfnSchedule.AwsVpcConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSchedule.AwsVpcConfigurationProperty>
CfnSchedule.AwsVpcConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSchedule.AwsVpcConfigurationProperty.Builder |
assignPublicIp(String assignPublicIp)
Sets the value of
CfnSchedule.AwsVpcConfigurationProperty.getAssignPublicIp() |
CfnSchedule.AwsVpcConfigurationProperty |
build()
Builds the configured instance.
|
CfnSchedule.AwsVpcConfigurationProperty.Builder |
securityGroups(List<String> securityGroups)
Sets the value of
CfnSchedule.AwsVpcConfigurationProperty.getSecurityGroups() |
CfnSchedule.AwsVpcConfigurationProperty.Builder |
subnets(List<String> subnets)
Sets the value of
CfnSchedule.AwsVpcConfigurationProperty.getSubnets() |
@Stability(value=Stable) public CfnSchedule.AwsVpcConfigurationProperty.Builder subnets(List<String> subnets)
CfnSchedule.AwsVpcConfigurationProperty.getSubnets()subnets - Specifies the subnets associated with the task. This parameter is required.
These subnets must all be in the same VPC. You can specify as many as 16 subnets.this@Stability(value=Stable) public CfnSchedule.AwsVpcConfigurationProperty.Builder assignPublicIp(String assignPublicIp)
CfnSchedule.AwsVpcConfigurationProperty.getAssignPublicIp()assignPublicIp - Specifies whether the task's elastic network interface receives a public IP address.
You can specify ENABLED only when LaunchType in EcsParameters is set to FARGATE .this@Stability(value=Stable) public CfnSchedule.AwsVpcConfigurationProperty.Builder securityGroups(List<String> securityGroups)
CfnSchedule.AwsVpcConfigurationProperty.getSecurityGroups()securityGroups - Specifies the security groups associated with the task.
These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.this@Stability(value=Stable) public CfnSchedule.AwsVpcConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnSchedule.AwsVpcConfigurationProperty>CfnSchedule.AwsVpcConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.