aws-cdk-lib.aws_mwaa.CfnEnvironment.NetworkConfigurationProperty

interface NetworkConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.MWAA.CfnEnvironment.NetworkConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmwaa#CfnEnvironment_NetworkConfigurationProperty
Javasoftware.amazon.awscdk.services.mwaa.CfnEnvironment.NetworkConfigurationProperty
Pythonaws_cdk.aws_mwaa.CfnEnvironment.NetworkConfigurationProperty
TypeScript aws-cdk-lib » aws_mwaa » CfnEnvironment » NetworkConfigurationProperty

The VPC networking components used to secure and enable network traffic between the AWS resources for your environment.

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 { aws_mwaa as mwaa } from 'aws-cdk-lib';
const networkConfigurationProperty: mwaa.CfnEnvironment.NetworkConfigurationProperty = {
  securityGroupIds: ['securityGroupIds'],
  subnetIds: ['subnetIds'],
};

Properties

NameTypeDescription
securityGroupIds?string[]A list of one or more security group IDs.
subnetIds?string[]A list of subnet IDs.

securityGroupIds?

Type: string[] (optional)

A list of one or more security group IDs.

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 .


subnetIds?

Type: string[] (optional)

A list of subnet IDs.

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 .