interface NetworkConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Scheduler.Mixins.CfnSchedulePropsMixin.NetworkConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsscheduler/mixins#CfnSchedulePropsMixin_NetworkConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.scheduler.mixins.CfnSchedulePropsMixin.NetworkConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_scheduler.mixins.CfnSchedulePropsMixin.NetworkConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_scheduler » mixins » CfnSchedulePropsMixin » NetworkConfigurationProperty |
Specifies the network configuration for an 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 scheduler_mixins } from '@aws-cdk/mixins-preview/aws-scheduler';
const networkConfigurationProperty: scheduler_mixins.CfnSchedulePropsMixin.NetworkConfigurationProperty = {
awsvpcConfiguration: {
assignPublicIp: 'assignPublicIp',
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| awsvpc | IResolvable | Aws | Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. |
awsvpcConfiguration?
Type:
IResolvable | Aws
(optional)
Specifies the Amazon 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