interface NetworkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnServicePropsMixin.NetworkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnServicePropsMixin_NetworkConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnServicePropsMixin.NetworkConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnServicePropsMixin.NetworkConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnServicePropsMixin » 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.CfnServicePropsMixin.NetworkConfigurationProperty = {
awsvpcConfiguration: {
assignPublicIp: 'assignPublicIp',
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| awsvpc | 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