aws-cdk-lib.aws_pipes.CfnPipe.NetworkConfigurationProperty

interface NetworkConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Pipes.CfnPipe.NetworkConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_NetworkConfigurationProperty
Javasoftware.amazon.awscdk.services.pipes.CfnPipe.NetworkConfigurationProperty
Pythonaws_cdk.aws_pipes.CfnPipe.NetworkConfigurationProperty
TypeScript aws-cdk-lib » aws_pipes » CfnPipe » NetworkConfigurationProperty

This structure specifies the network configuration for an Amazon ECS task.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const networkConfigurationProperty: pipes.CfnPipe.NetworkConfigurationProperty = {
  awsvpcConfiguration: {
    subnets: ['subnets'],

    // the properties below are optional
    assignPublicIp: 'assignPublicIp',
    securityGroups: ['securityGroups'],
  },
};

Properties

NameTypeDescription
awsvpcConfiguration?IResolvable | AwsVpcConfigurationPropertyUse this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.

awsvpcConfiguration?

Type: IResolvable | AwsVpcConfigurationProperty (optional)

Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.

This structure is relevant only for ECS tasks that use the awsvpc network mode.