@Stability(value=Stable)
public static interface CfnEnvironment.NetworkConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 List<String> |
getSecurityGroupIds()
A list of one or more security group IDs.
|
default List<String> |
getSubnetIds()
A list of subnet IDs.
|
@Stability(value=Stable) @Nullable default List<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 .
@Stability(value=Stable) @Nullable default List<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 .
@Stability(value=Stable) static CfnEnvironment.NetworkConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.