interface NetworkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ECS.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsecs#CfnTaskSetPropsMixin_NetworkConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_ecs.CfnTaskSetPropsMixin.NetworkConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ecs » 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 { aws_ecs as ecs } from '@aws-cdk/cfn-property-mixins';
const networkConfigurationProperty: ecs.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