interface NetworkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnTaskSetPropsMixin_NetworkConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnTaskSetPropsMixin » NetworkConfigurationProperty |
The network configuration for a task or service.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const networkConfigurationProperty: ecs_mixins.CfnTaskSetPropsMixin.NetworkConfigurationProperty = {
awsVpcConfiguration: {
assignPublicIp: 'assignPublicIp',
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| aws | IResolvable | Aws | The VPC subnets and security groups that are associated with a task. |
awsVpcConfiguration?
Type:
IResolvable | Aws
(optional)
The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.

.NET
Go
Java
Python
TypeScript