aws-cdk-lib.aws_scheduler.CfnSchedule.NetworkConfigurationProperty

interface NetworkConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Scheduler.CfnSchedule.NetworkConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsscheduler#CfnSchedule_NetworkConfigurationProperty
Javasoftware.amazon.awscdk.services.scheduler.CfnSchedule.NetworkConfigurationProperty
Pythonaws_cdk.aws_scheduler.CfnSchedule.NetworkConfigurationProperty
TypeScript aws-cdk-lib » aws_scheduler » CfnSchedule » 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 { aws_scheduler as scheduler } from 'aws-cdk-lib';
const networkConfigurationProperty: scheduler.CfnSchedule.NetworkConfigurationProperty = {
  awsvpcConfiguration: {
    subnets: ['subnets'],

    // the properties below are optional
    assignPublicIp: 'assignPublicIp',
    securityGroups: ['securityGroups'],
  },
};

Properties

NameTypeDescription
awsvpcConfiguration?IResolvable | AwsVpcConfigurationPropertySpecifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used.

awsvpcConfiguration?

Type: IResolvable | AwsVpcConfigurationProperty (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.