public static interface CfnEnvironment.NetworkConfigurationProperty
To learn more, see About networking on Amazon MWAA .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mwaa.*; NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnetIds(List.of("subnetIds")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEnvironment.NetworkConfigurationProperty.Builder
A builder for
CfnEnvironment.NetworkConfigurationProperty |
static class |
CfnEnvironment.NetworkConfigurationProperty.Jsii$Proxy
An implementation for
CfnEnvironment.NetworkConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnEnvironment.NetworkConfigurationProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getSecurityGroupIds()
A list of one or more security group IDs.
|
default java.util.List<java.lang.String> |
getSubnetIds()
A list of subnet IDs.
|
default java.util.List<java.lang.String> getSecurityGroupIds()
Accepts up to 5 security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see Security in your VPC on Amazon MWAA .
default java.util.List<java.lang.String> getSubnetIds()
Required to create an environment. Must be private subnets in two different availability zones. A subnet must be attached to the same VPC as the security group. To learn more, see About networking on Amazon MWAA .
static CfnEnvironment.NetworkConfigurationProperty.Builder builder()