interface NetworkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pipes.Mixins.CfnPipePropsMixin.NetworkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspipes/mixins#CfnPipePropsMixin_NetworkConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.pipes.mixins.CfnPipePropsMixin.NetworkConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_pipes.mixins.CfnPipePropsMixin.NetworkConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pipes » mixins » CfnPipePropsMixin » 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 { mixins as pipes_mixins } from '@aws-cdk/mixins-preview/aws-pipes';
const networkConfigurationProperty: pipes_mixins.CfnPipePropsMixin.NetworkConfigurationProperty = {
awsvpcConfiguration: {
assignPublicIp: 'assignPublicIp',
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| awsvpc | IResolvable | Aws | Use 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 | Aws
(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.

.NET
Go
Java
Python
TypeScript