Show / Hide Table of Contents

Class CfnJobDefinition.NetworkConfigurationProperty

The network configuration for jobs that are running on Fargate resources.

Inheritance
object
CfnJobDefinition.NetworkConfigurationProperty
Implements
CfnJobDefinition.INetworkConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnJobDefinition.NetworkConfigurationProperty : CfnJobDefinition.INetworkConfigurationProperty
Syntax (vb)
Public Class CfnJobDefinition.NetworkConfigurationProperty Implements CfnJobDefinition.INetworkConfigurationProperty
Remarks

Jobs that are running on Amazon EC2 resources must not specify this parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Batch;

             var networkConfigurationProperty = new NetworkConfigurationProperty {
                 AssignPublicIp = "assignPublicIp"
             };

Synopsis

Constructors

NetworkConfigurationProperty()

The network configuration for jobs that are running on Fargate resources.

Properties

AssignPublicIp

Indicates whether the job has a public IP address.

Constructors

NetworkConfigurationProperty()

The network configuration for jobs that are running on Fargate resources.

public NetworkConfigurationProperty()
Remarks

Jobs that are running on Amazon EC2 resources must not specify this parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Batch;

             var networkConfigurationProperty = new NetworkConfigurationProperty {
                 AssignPublicIp = "assignPublicIp"
             };

Properties

AssignPublicIp

Indicates whether the job has a public IP address.

public string? AssignPublicIp { get; set; }
Property Value

string

Remarks

For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking in the Amazon Elastic Container Service Developer Guide . The default value is " DISABLED ".

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html#cfn-batch-jobdefinition-networkconfiguration-assignpublicip

Implements

CfnJobDefinition.INetworkConfigurationProperty
Back to top Generated by DocFX