Skip to content
v2.277.0

HostPathProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const hostPathProperty: batch.CfnJobDefinition.HostPathProperty = {
  path: 'path',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

host_path_property = batch.CfnJobDefinition.HostPathProperty(
    path="path"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;

HostPathProperty hostPathProperty = HostPathProperty.builder()
        .path("path")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 hostPathProperty = new HostPathProperty {
    Path = "path"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hostPathProperty := &HostPathProperty{
	Path: jsii.String("path"),
}

Properties ​

pathoptionalstringpathoptionalstrpathoptionalStringPathoptionalstringPathoptional*string#