awsbatch

package
v2.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnComputeEnvironment_CFN_RESOURCE_TYPE_NAME

func CfnComputeEnvironment_CFN_RESOURCE_TYPE_NAME() *string

func CfnComputeEnvironment_IsCfnElement

func CfnComputeEnvironment_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnComputeEnvironment_IsCfnResource

func CfnComputeEnvironment_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnComputeEnvironment_IsConstruct

func CfnComputeEnvironment_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.

func CfnJobDefinition_CFN_RESOURCE_TYPE_NAME

func CfnJobDefinition_CFN_RESOURCE_TYPE_NAME() *string

func CfnJobDefinition_IsCfnElement

func CfnJobDefinition_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnJobDefinition_IsCfnResource

func CfnJobDefinition_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnJobDefinition_IsConstruct

func CfnJobDefinition_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.

func CfnJobQueue_CFN_RESOURCE_TYPE_NAME

func CfnJobQueue_CFN_RESOURCE_TYPE_NAME() *string

func CfnJobQueue_IsCfnElement

func CfnJobQueue_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnJobQueue_IsCfnResource

func CfnJobQueue_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnJobQueue_IsConstruct

func CfnJobQueue_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.

func CfnSchedulingPolicy_CFN_RESOURCE_TYPE_NAME

func CfnSchedulingPolicy_CFN_RESOURCE_TYPE_NAME() *string

func CfnSchedulingPolicy_IsCfnElement

func CfnSchedulingPolicy_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnSchedulingPolicy_IsCfnResource

func CfnSchedulingPolicy_IsCfnResource(construct constructs.IConstruct) *bool

Check whether the given construct is a CfnResource.

func CfnSchedulingPolicy_IsConstruct

func CfnSchedulingPolicy_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.

func NewCfnComputeEnvironment_Override

func NewCfnComputeEnvironment_Override(c CfnComputeEnvironment, scope constructs.Construct, id *string, props *CfnComputeEnvironmentProps)

Create a new `AWS::Batch::ComputeEnvironment`.

func NewCfnJobDefinition_Override

func NewCfnJobDefinition_Override(c CfnJobDefinition, scope constructs.Construct, id *string, props *CfnJobDefinitionProps)

Create a new `AWS::Batch::JobDefinition`.

func NewCfnJobQueue_Override

func NewCfnJobQueue_Override(c CfnJobQueue, scope constructs.Construct, id *string, props *CfnJobQueueProps)

Create a new `AWS::Batch::JobQueue`.

func NewCfnSchedulingPolicy_Override

func NewCfnSchedulingPolicy_Override(c CfnSchedulingPolicy, scope constructs.Construct, id *string, props *CfnSchedulingPolicyProps)

Create a new `AWS::Batch::SchedulingPolicy`.

Types

type CfnComputeEnvironment

type CfnComputeEnvironment interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrComputeEnvironmentArn() *string
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// `AWS::Batch::ComputeEnvironment.ComputeEnvironmentName`.
	ComputeEnvironmentName() *string
	SetComputeEnvironmentName(val *string)
	// `AWS::Batch::ComputeEnvironment.ComputeResources`.
	ComputeResources() interface{}
	SetComputeResources(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// `AWS::Batch::ComputeEnvironment.ServiceRole`.
	ServiceRole() *string
	SetServiceRole(val *string)
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// `AWS::Batch::ComputeEnvironment.State`.
	State() *string
	SetState(val *string)
	// `AWS::Batch::ComputeEnvironment.Tags`.
	Tags() awscdk.TagManager
	// `AWS::Batch::ComputeEnvironment.Type`.
	Type() *string
	SetType(val *string)
	// `AWS::Batch::ComputeEnvironment.UnmanagedvCpus`.
	UnmanagedvCpus() *float64
	SetUnmanagedvCpus(val *float64)
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Batch::ComputeEnvironment`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnComputeEnvironment := batch.NewCfnComputeEnvironment(this, jsii.String("MyCfnComputeEnvironment"), &cfnComputeEnvironmentProps{
	type: jsii.String("type"),

	// the properties below are optional
	computeEnvironmentName: jsii.String("computeEnvironmentName"),
	computeResources: &computeResourcesProperty{
		maxvCpus: jsii.Number(123),
		subnets: []*string{
			jsii.String("subnets"),
		},
		type: jsii.String("type"),

		// the properties below are optional
		allocationStrategy: jsii.String("allocationStrategy"),
		bidPercentage: jsii.Number(123),
		desiredvCpus: jsii.Number(123),
		ec2Configuration: []interface{}{
			&ec2ConfigurationObjectProperty{
				imageType: jsii.String("imageType"),

				// the properties below are optional
				imageIdOverride: jsii.String("imageIdOverride"),
			},
		},
		ec2KeyPair: jsii.String("ec2KeyPair"),
		imageId: jsii.String("imageId"),
		instanceRole: jsii.String("instanceRole"),
		instanceTypes: []*string{
			jsii.String("instanceTypes"),
		},
		launchTemplate: &launchTemplateSpecificationProperty{
			launchTemplateId: jsii.String("launchTemplateId"),
			launchTemplateName: jsii.String("launchTemplateName"),
			version: jsii.String("version"),
		},
		minvCpus: jsii.Number(123),
		placementGroup: jsii.String("placementGroup"),
		securityGroupIds: []*string{
			jsii.String("securityGroupIds"),
		},
		spotIamFleetRole: jsii.String("spotIamFleetRole"),
		tags: map[string]*string{
			"tagsKey": jsii.String("tags"),
		},
	},
	serviceRole: jsii.String("serviceRole"),
	state: jsii.String("state"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
	unmanagedvCpus: jsii.Number(123),
})

func NewCfnComputeEnvironment

func NewCfnComputeEnvironment(scope constructs.Construct, id *string, props *CfnComputeEnvironmentProps) CfnComputeEnvironment

Create a new `AWS::Batch::ComputeEnvironment`.

type CfnComputeEnvironmentProps

type CfnComputeEnvironmentProps struct {
	// `AWS::Batch::ComputeEnvironment.Type`.
	Type *string `json:"type" yaml:"type"`
	// `AWS::Batch::ComputeEnvironment.ComputeEnvironmentName`.
	ComputeEnvironmentName *string `json:"computeEnvironmentName" yaml:"computeEnvironmentName"`
	// `AWS::Batch::ComputeEnvironment.ComputeResources`.
	ComputeResources interface{} `json:"computeResources" yaml:"computeResources"`
	// `AWS::Batch::ComputeEnvironment.ServiceRole`.
	ServiceRole *string `json:"serviceRole" yaml:"serviceRole"`
	// `AWS::Batch::ComputeEnvironment.State`.
	State *string `json:"state" yaml:"state"`
	// `AWS::Batch::ComputeEnvironment.Tags`.
	Tags *map[string]*string `json:"tags" yaml:"tags"`
	// `AWS::Batch::ComputeEnvironment.UnmanagedvCpus`.
	UnmanagedvCpus *float64 `json:"unmanagedvCpus" yaml:"unmanagedvCpus"`
}

Properties for defining a `CfnComputeEnvironment`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnComputeEnvironmentProps := &cfnComputeEnvironmentProps{
	type: jsii.String("type"),

	// the properties below are optional
	computeEnvironmentName: jsii.String("computeEnvironmentName"),
	computeResources: &computeResourcesProperty{
		maxvCpus: jsii.Number(123),
		subnets: []*string{
			jsii.String("subnets"),
		},
		type: jsii.String("type"),

		// the properties below are optional
		allocationStrategy: jsii.String("allocationStrategy"),
		bidPercentage: jsii.Number(123),
		desiredvCpus: jsii.Number(123),
		ec2Configuration: []interface{}{
			&ec2ConfigurationObjectProperty{
				imageType: jsii.String("imageType"),

				// the properties below are optional
				imageIdOverride: jsii.String("imageIdOverride"),
			},
		},
		ec2KeyPair: jsii.String("ec2KeyPair"),
		imageId: jsii.String("imageId"),
		instanceRole: jsii.String("instanceRole"),
		instanceTypes: []*string{
			jsii.String("instanceTypes"),
		},
		launchTemplate: &launchTemplateSpecificationProperty{
			launchTemplateId: jsii.String("launchTemplateId"),
			launchTemplateName: jsii.String("launchTemplateName"),
			version: jsii.String("version"),
		},
		minvCpus: jsii.Number(123),
		placementGroup: jsii.String("placementGroup"),
		securityGroupIds: []*string{
			jsii.String("securityGroupIds"),
		},
		spotIamFleetRole: jsii.String("spotIamFleetRole"),
		tags: map[string]*string{
			"tagsKey": jsii.String("tags"),
		},
	},
	serviceRole: jsii.String("serviceRole"),
	state: jsii.String("state"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
	unmanagedvCpus: jsii.Number(123),
}

type CfnComputeEnvironment_ComputeResourcesProperty

type CfnComputeEnvironment_ComputeResourcesProperty struct {
	// `CfnComputeEnvironment.ComputeResourcesProperty.MaxvCpus`.
	MaxvCpus *float64 `json:"maxvCpus" yaml:"maxvCpus"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.Subnets`.
	Subnets *[]*string `json:"subnets" yaml:"subnets"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.Type`.
	Type *string `json:"type" yaml:"type"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.AllocationStrategy`.
	AllocationStrategy *string `json:"allocationStrategy" yaml:"allocationStrategy"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.BidPercentage`.
	BidPercentage *float64 `json:"bidPercentage" yaml:"bidPercentage"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.DesiredvCpus`.
	DesiredvCpus *float64 `json:"desiredvCpus" yaml:"desiredvCpus"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.Ec2Configuration`.
	Ec2Configuration interface{} `json:"ec2Configuration" yaml:"ec2Configuration"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.Ec2KeyPair`.
	Ec2KeyPair *string `json:"ec2KeyPair" yaml:"ec2KeyPair"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.ImageId`.
	ImageId *string `json:"imageId" yaml:"imageId"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.InstanceRole`.
	InstanceRole *string `json:"instanceRole" yaml:"instanceRole"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.InstanceTypes`.
	InstanceTypes *[]*string `json:"instanceTypes" yaml:"instanceTypes"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.LaunchTemplate`.
	LaunchTemplate interface{} `json:"launchTemplate" yaml:"launchTemplate"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.MinvCpus`.
	MinvCpus *float64 `json:"minvCpus" yaml:"minvCpus"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.PlacementGroup`.
	PlacementGroup *string `json:"placementGroup" yaml:"placementGroup"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.SecurityGroupIds`.
	SecurityGroupIds *[]*string `json:"securityGroupIds" yaml:"securityGroupIds"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.SpotIamFleetRole`.
	SpotIamFleetRole *string `json:"spotIamFleetRole" yaml:"spotIamFleetRole"`
	// `CfnComputeEnvironment.ComputeResourcesProperty.Tags`.
	Tags *map[string]*string `json:"tags" yaml:"tags"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
computeResourcesProperty := &computeResourcesProperty{
	maxvCpus: jsii.Number(123),
	subnets: []*string{
		jsii.String("subnets"),
	},
	type: jsii.String("type"),

	// the properties below are optional
	allocationStrategy: jsii.String("allocationStrategy"),
	bidPercentage: jsii.Number(123),
	desiredvCpus: jsii.Number(123),
	ec2Configuration: []interface{}{
		&ec2ConfigurationObjectProperty{
			imageType: jsii.String("imageType"),

			// the properties below are optional
			imageIdOverride: jsii.String("imageIdOverride"),
		},
	},
	ec2KeyPair: jsii.String("ec2KeyPair"),
	imageId: jsii.String("imageId"),
	instanceRole: jsii.String("instanceRole"),
	instanceTypes: []*string{
		jsii.String("instanceTypes"),
	},
	launchTemplate: &launchTemplateSpecificationProperty{
		launchTemplateId: jsii.String("launchTemplateId"),
		launchTemplateName: jsii.String("launchTemplateName"),
		version: jsii.String("version"),
	},
	minvCpus: jsii.Number(123),
	placementGroup: jsii.String("placementGroup"),
	securityGroupIds: []*string{
		jsii.String("securityGroupIds"),
	},
	spotIamFleetRole: jsii.String("spotIamFleetRole"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

type CfnComputeEnvironment_Ec2ConfigurationObjectProperty

type CfnComputeEnvironment_Ec2ConfigurationObjectProperty struct {
	// `CfnComputeEnvironment.Ec2ConfigurationObjectProperty.ImageType`.
	ImageType *string `json:"imageType" yaml:"imageType"`
	// `CfnComputeEnvironment.Ec2ConfigurationObjectProperty.ImageIdOverride`.
	ImageIdOverride *string `json:"imageIdOverride" yaml:"imageIdOverride"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
ec2ConfigurationObjectProperty := &ec2ConfigurationObjectProperty{
	imageType: jsii.String("imageType"),

	// the properties below are optional
	imageIdOverride: jsii.String("imageIdOverride"),
}

type CfnComputeEnvironment_LaunchTemplateSpecificationProperty

type CfnComputeEnvironment_LaunchTemplateSpecificationProperty struct {
	// `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateId`.
	LaunchTemplateId *string `json:"launchTemplateId" yaml:"launchTemplateId"`
	// `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateName`.
	LaunchTemplateName *string `json:"launchTemplateName" yaml:"launchTemplateName"`
	// `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Version`.
	Version *string `json:"version" yaml:"version"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
launchTemplateSpecificationProperty := &launchTemplateSpecificationProperty{
	launchTemplateId: jsii.String("launchTemplateId"),
	launchTemplateName: jsii.String("launchTemplateName"),
	version: jsii.String("version"),
}

type CfnJobDefinition

type CfnJobDefinition interface {
	awscdk.CfnResource
	awscdk.IInspectable
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// `AWS::Batch::JobDefinition.ContainerProperties`.
	ContainerProperties() interface{}
	SetContainerProperties(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// `AWS::Batch::JobDefinition.JobDefinitionName`.
	JobDefinitionName() *string
	SetJobDefinitionName(val *string)
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The tree node.
	Node() constructs.Node
	// `AWS::Batch::JobDefinition.NodeProperties`.
	NodeProperties() interface{}
	SetNodeProperties(val interface{})
	// `AWS::Batch::JobDefinition.Parameters`.
	Parameters() interface{}
	SetParameters(val interface{})
	// `AWS::Batch::JobDefinition.PlatformCapabilities`.
	PlatformCapabilities() *[]*string
	SetPlatformCapabilities(val *[]*string)
	// `AWS::Batch::JobDefinition.PropagateTags`.
	PropagateTags() interface{}
	SetPropagateTags(val interface{})
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// `AWS::Batch::JobDefinition.RetryStrategy`.
	RetryStrategy() interface{}
	SetRetryStrategy(val interface{})
	// `AWS::Batch::JobDefinition.SchedulingPriority`.
	SchedulingPriority() *float64
	SetSchedulingPriority(val *float64)
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// `AWS::Batch::JobDefinition.Tags`.
	Tags() awscdk.TagManager
	// `AWS::Batch::JobDefinition.Timeout`.
	Timeout() interface{}
	SetTimeout(val interface{})
	// `AWS::Batch::JobDefinition.Type`.
	Type() *string
	SetType(val *string)
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Batch::JobDefinition`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
var parameters interface{}
var tags interface{}
cfnJobDefinition := batch.NewCfnJobDefinition(this, jsii.String("MyCfnJobDefinition"), &cfnJobDefinitionProps{
	type: jsii.String("type"),

	// the properties below are optional
	containerProperties: &containerPropertiesProperty{
		image: jsii.String("image"),

		// the properties below are optional
		command: []*string{
			jsii.String("command"),
		},
		environment: []interface{}{
			&environmentProperty{
				name: jsii.String("name"),
				value: jsii.String("value"),
			},
		},
		executionRoleArn: jsii.String("executionRoleArn"),
		fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
			platformVersion: jsii.String("platformVersion"),
		},
		instanceType: jsii.String("instanceType"),
		jobRoleArn: jsii.String("jobRoleArn"),
		linuxParameters: &linuxParametersProperty{
			devices: []interface{}{
				&deviceProperty{
					containerPath: jsii.String("containerPath"),
					hostPath: jsii.String("hostPath"),
					permissions: []*string{
						jsii.String("permissions"),
					},
				},
			},
			initProcessEnabled: jsii.Boolean(false),
			maxSwap: jsii.Number(123),
			sharedMemorySize: jsii.Number(123),
			swappiness: jsii.Number(123),
			tmpfs: []interface{}{
				&tmpfsProperty{
					containerPath: jsii.String("containerPath"),
					size: jsii.Number(123),

					// the properties below are optional
					mountOptions: []*string{
						jsii.String("mountOptions"),
					},
				},
			},
		},
		logConfiguration: &logConfigurationProperty{
			logDriver: jsii.String("logDriver"),

			// the properties below are optional
			options: options,
			secretOptions: []interface{}{
				&secretProperty{
					name: jsii.String("name"),
					valueFrom: jsii.String("valueFrom"),
				},
			},
		},
		memory: jsii.Number(123),
		mountPoints: []interface{}{
			&mountPointsProperty{
				containerPath: jsii.String("containerPath"),
				readOnly: jsii.Boolean(false),
				sourceVolume: jsii.String("sourceVolume"),
			},
		},
		networkConfiguration: &networkConfigurationProperty{
			assignPublicIp: jsii.String("assignPublicIp"),
		},
		privileged: jsii.Boolean(false),
		readonlyRootFilesystem: jsii.Boolean(false),
		resourceRequirements: []interface{}{
			&resourceRequirementProperty{
				type: jsii.String("type"),
				value: jsii.String("value"),
			},
		},
		secrets: []interface{}{
			&secretProperty{
				name: jsii.String("name"),
				valueFrom: jsii.String("valueFrom"),
			},
		},
		ulimits: []interface{}{
			&ulimitProperty{
				hardLimit: jsii.Number(123),
				name: jsii.String("name"),
				softLimit: jsii.Number(123),
			},
		},
		user: jsii.String("user"),
		vcpus: jsii.Number(123),
		volumes: []interface{}{
			&volumesProperty{
				efsVolumeConfiguration: &efsVolumeConfigurationProperty{
					fileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					authorizationConfig: &authorizationConfigProperty{
						accessPointId: jsii.String("accessPointId"),
						iam: jsii.String("iam"),
					},
					rootDirectory: jsii.String("rootDirectory"),
					transitEncryption: jsii.String("transitEncryption"),
					transitEncryptionPort: jsii.Number(123),
				},
				host: &volumesHostProperty{
					sourcePath: jsii.String("sourcePath"),
				},
				name: jsii.String("name"),
			},
		},
	},
	jobDefinitionName: jsii.String("jobDefinitionName"),
	nodeProperties: &nodePropertiesProperty{
		mainNode: jsii.Number(123),
		nodeRangeProperties: []interface{}{
			&nodeRangePropertyProperty{
				targetNodes: jsii.String("targetNodes"),

				// the properties below are optional
				container: &containerPropertiesProperty{
					image: jsii.String("image"),

					// the properties below are optional
					command: []*string{
						jsii.String("command"),
					},
					environment: []interface{}{
						&environmentProperty{
							name: jsii.String("name"),
							value: jsii.String("value"),
						},
					},
					executionRoleArn: jsii.String("executionRoleArn"),
					fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
						platformVersion: jsii.String("platformVersion"),
					},
					instanceType: jsii.String("instanceType"),
					jobRoleArn: jsii.String("jobRoleArn"),
					linuxParameters: &linuxParametersProperty{
						devices: []interface{}{
							&deviceProperty{
								containerPath: jsii.String("containerPath"),
								hostPath: jsii.String("hostPath"),
								permissions: []*string{
									jsii.String("permissions"),
								},
							},
						},
						initProcessEnabled: jsii.Boolean(false),
						maxSwap: jsii.Number(123),
						sharedMemorySize: jsii.Number(123),
						swappiness: jsii.Number(123),
						tmpfs: []interface{}{
							&tmpfsProperty{
								containerPath: jsii.String("containerPath"),
								size: jsii.Number(123),

								// the properties below are optional
								mountOptions: []*string{
									jsii.String("mountOptions"),
								},
							},
						},
					},
					logConfiguration: &logConfigurationProperty{
						logDriver: jsii.String("logDriver"),

						// the properties below are optional
						options: options,
						secretOptions: []interface{}{
							&secretProperty{
								name: jsii.String("name"),
								valueFrom: jsii.String("valueFrom"),
							},
						},
					},
					memory: jsii.Number(123),
					mountPoints: []interface{}{
						&mountPointsProperty{
							containerPath: jsii.String("containerPath"),
							readOnly: jsii.Boolean(false),
							sourceVolume: jsii.String("sourceVolume"),
						},
					},
					networkConfiguration: &networkConfigurationProperty{
						assignPublicIp: jsii.String("assignPublicIp"),
					},
					privileged: jsii.Boolean(false),
					readonlyRootFilesystem: jsii.Boolean(false),
					resourceRequirements: []interface{}{
						&resourceRequirementProperty{
							type: jsii.String("type"),
							value: jsii.String("value"),
						},
					},
					secrets: []interface{}{
						&secretProperty{
							name: jsii.String("name"),
							valueFrom: jsii.String("valueFrom"),
						},
					},
					ulimits: []interface{}{
						&ulimitProperty{
							hardLimit: jsii.Number(123),
							name: jsii.String("name"),
							softLimit: jsii.Number(123),
						},
					},
					user: jsii.String("user"),
					vcpus: jsii.Number(123),
					volumes: []interface{}{
						&volumesProperty{
							efsVolumeConfiguration: &efsVolumeConfigurationProperty{
								fileSystemId: jsii.String("fileSystemId"),

								// the properties below are optional
								authorizationConfig: &authorizationConfigProperty{
									accessPointId: jsii.String("accessPointId"),
									iam: jsii.String("iam"),
								},
								rootDirectory: jsii.String("rootDirectory"),
								transitEncryption: jsii.String("transitEncryption"),
								transitEncryptionPort: jsii.Number(123),
							},
							host: &volumesHostProperty{
								sourcePath: jsii.String("sourcePath"),
							},
							name: jsii.String("name"),
						},
					},
				},
			},
		},
		numNodes: jsii.Number(123),
	},
	parameters: parameters,
	platformCapabilities: []*string{
		jsii.String("platformCapabilities"),
	},
	propagateTags: jsii.Boolean(false),
	retryStrategy: &retryStrategyProperty{
		attempts: jsii.Number(123),
		evaluateOnExit: []interface{}{
			&evaluateOnExitProperty{
				action: jsii.String("action"),

				// the properties below are optional
				onExitCode: jsii.String("onExitCode"),
				onReason: jsii.String("onReason"),
				onStatusReason: jsii.String("onStatusReason"),
			},
		},
	},
	schedulingPriority: jsii.Number(123),
	tags: tags,
	timeout: &timeoutProperty{
		attemptDurationSeconds: jsii.Number(123),
	},
})

func NewCfnJobDefinition

func NewCfnJobDefinition(scope constructs.Construct, id *string, props *CfnJobDefinitionProps) CfnJobDefinition

Create a new `AWS::Batch::JobDefinition`.

type CfnJobDefinitionProps

type CfnJobDefinitionProps struct {
	// `AWS::Batch::JobDefinition.Type`.
	Type *string `json:"type" yaml:"type"`
	// `AWS::Batch::JobDefinition.ContainerProperties`.
	ContainerProperties interface{} `json:"containerProperties" yaml:"containerProperties"`
	// `AWS::Batch::JobDefinition.JobDefinitionName`.
	JobDefinitionName *string `json:"jobDefinitionName" yaml:"jobDefinitionName"`
	// `AWS::Batch::JobDefinition.NodeProperties`.
	NodeProperties interface{} `json:"nodeProperties" yaml:"nodeProperties"`
	// `AWS::Batch::JobDefinition.Parameters`.
	Parameters interface{} `json:"parameters" yaml:"parameters"`
	// `AWS::Batch::JobDefinition.PlatformCapabilities`.
	PlatformCapabilities *[]*string `json:"platformCapabilities" yaml:"platformCapabilities"`
	// `AWS::Batch::JobDefinition.PropagateTags`.
	PropagateTags interface{} `json:"propagateTags" yaml:"propagateTags"`
	// `AWS::Batch::JobDefinition.RetryStrategy`.
	RetryStrategy interface{} `json:"retryStrategy" yaml:"retryStrategy"`
	// `AWS::Batch::JobDefinition.SchedulingPriority`.
	SchedulingPriority *float64 `json:"schedulingPriority" yaml:"schedulingPriority"`
	// `AWS::Batch::JobDefinition.Tags`.
	Tags interface{} `json:"tags" yaml:"tags"`
	// `AWS::Batch::JobDefinition.Timeout`.
	Timeout interface{} `json:"timeout" yaml:"timeout"`
}

Properties for defining a `CfnJobDefinition`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
var parameters interface{}
var tags interface{}
cfnJobDefinitionProps := &cfnJobDefinitionProps{
	type: jsii.String("type"),

	// the properties below are optional
	containerProperties: &containerPropertiesProperty{
		image: jsii.String("image"),

		// the properties below are optional
		command: []*string{
			jsii.String("command"),
		},
		environment: []interface{}{
			&environmentProperty{
				name: jsii.String("name"),
				value: jsii.String("value"),
			},
		},
		executionRoleArn: jsii.String("executionRoleArn"),
		fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
			platformVersion: jsii.String("platformVersion"),
		},
		instanceType: jsii.String("instanceType"),
		jobRoleArn: jsii.String("jobRoleArn"),
		linuxParameters: &linuxParametersProperty{
			devices: []interface{}{
				&deviceProperty{
					containerPath: jsii.String("containerPath"),
					hostPath: jsii.String("hostPath"),
					permissions: []*string{
						jsii.String("permissions"),
					},
				},
			},
			initProcessEnabled: jsii.Boolean(false),
			maxSwap: jsii.Number(123),
			sharedMemorySize: jsii.Number(123),
			swappiness: jsii.Number(123),
			tmpfs: []interface{}{
				&tmpfsProperty{
					containerPath: jsii.String("containerPath"),
					size: jsii.Number(123),

					// the properties below are optional
					mountOptions: []*string{
						jsii.String("mountOptions"),
					},
				},
			},
		},
		logConfiguration: &logConfigurationProperty{
			logDriver: jsii.String("logDriver"),

			// the properties below are optional
			options: options,
			secretOptions: []interface{}{
				&secretProperty{
					name: jsii.String("name"),
					valueFrom: jsii.String("valueFrom"),
				},
			},
		},
		memory: jsii.Number(123),
		mountPoints: []interface{}{
			&mountPointsProperty{
				containerPath: jsii.String("containerPath"),
				readOnly: jsii.Boolean(false),
				sourceVolume: jsii.String("sourceVolume"),
			},
		},
		networkConfiguration: &networkConfigurationProperty{
			assignPublicIp: jsii.String("assignPublicIp"),
		},
		privileged: jsii.Boolean(false),
		readonlyRootFilesystem: jsii.Boolean(false),
		resourceRequirements: []interface{}{
			&resourceRequirementProperty{
				type: jsii.String("type"),
				value: jsii.String("value"),
			},
		},
		secrets: []interface{}{
			&secretProperty{
				name: jsii.String("name"),
				valueFrom: jsii.String("valueFrom"),
			},
		},
		ulimits: []interface{}{
			&ulimitProperty{
				hardLimit: jsii.Number(123),
				name: jsii.String("name"),
				softLimit: jsii.Number(123),
			},
		},
		user: jsii.String("user"),
		vcpus: jsii.Number(123),
		volumes: []interface{}{
			&volumesProperty{
				efsVolumeConfiguration: &efsVolumeConfigurationProperty{
					fileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					authorizationConfig: &authorizationConfigProperty{
						accessPointId: jsii.String("accessPointId"),
						iam: jsii.String("iam"),
					},
					rootDirectory: jsii.String("rootDirectory"),
					transitEncryption: jsii.String("transitEncryption"),
					transitEncryptionPort: jsii.Number(123),
				},
				host: &volumesHostProperty{
					sourcePath: jsii.String("sourcePath"),
				},
				name: jsii.String("name"),
			},
		},
	},
	jobDefinitionName: jsii.String("jobDefinitionName"),
	nodeProperties: &nodePropertiesProperty{
		mainNode: jsii.Number(123),
		nodeRangeProperties: []interface{}{
			&nodeRangePropertyProperty{
				targetNodes: jsii.String("targetNodes"),

				// the properties below are optional
				container: &containerPropertiesProperty{
					image: jsii.String("image"),

					// the properties below are optional
					command: []*string{
						jsii.String("command"),
					},
					environment: []interface{}{
						&environmentProperty{
							name: jsii.String("name"),
							value: jsii.String("value"),
						},
					},
					executionRoleArn: jsii.String("executionRoleArn"),
					fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
						platformVersion: jsii.String("platformVersion"),
					},
					instanceType: jsii.String("instanceType"),
					jobRoleArn: jsii.String("jobRoleArn"),
					linuxParameters: &linuxParametersProperty{
						devices: []interface{}{
							&deviceProperty{
								containerPath: jsii.String("containerPath"),
								hostPath: jsii.String("hostPath"),
								permissions: []*string{
									jsii.String("permissions"),
								},
							},
						},
						initProcessEnabled: jsii.Boolean(false),
						maxSwap: jsii.Number(123),
						sharedMemorySize: jsii.Number(123),
						swappiness: jsii.Number(123),
						tmpfs: []interface{}{
							&tmpfsProperty{
								containerPath: jsii.String("containerPath"),
								size: jsii.Number(123),

								// the properties below are optional
								mountOptions: []*string{
									jsii.String("mountOptions"),
								},
							},
						},
					},
					logConfiguration: &logConfigurationProperty{
						logDriver: jsii.String("logDriver"),

						// the properties below are optional
						options: options,
						secretOptions: []interface{}{
							&secretProperty{
								name: jsii.String("name"),
								valueFrom: jsii.String("valueFrom"),
							},
						},
					},
					memory: jsii.Number(123),
					mountPoints: []interface{}{
						&mountPointsProperty{
							containerPath: jsii.String("containerPath"),
							readOnly: jsii.Boolean(false),
							sourceVolume: jsii.String("sourceVolume"),
						},
					},
					networkConfiguration: &networkConfigurationProperty{
						assignPublicIp: jsii.String("assignPublicIp"),
					},
					privileged: jsii.Boolean(false),
					readonlyRootFilesystem: jsii.Boolean(false),
					resourceRequirements: []interface{}{
						&resourceRequirementProperty{
							type: jsii.String("type"),
							value: jsii.String("value"),
						},
					},
					secrets: []interface{}{
						&secretProperty{
							name: jsii.String("name"),
							valueFrom: jsii.String("valueFrom"),
						},
					},
					ulimits: []interface{}{
						&ulimitProperty{
							hardLimit: jsii.Number(123),
							name: jsii.String("name"),
							softLimit: jsii.Number(123),
						},
					},
					user: jsii.String("user"),
					vcpus: jsii.Number(123),
					volumes: []interface{}{
						&volumesProperty{
							efsVolumeConfiguration: &efsVolumeConfigurationProperty{
								fileSystemId: jsii.String("fileSystemId"),

								// the properties below are optional
								authorizationConfig: &authorizationConfigProperty{
									accessPointId: jsii.String("accessPointId"),
									iam: jsii.String("iam"),
								},
								rootDirectory: jsii.String("rootDirectory"),
								transitEncryption: jsii.String("transitEncryption"),
								transitEncryptionPort: jsii.Number(123),
							},
							host: &volumesHostProperty{
								sourcePath: jsii.String("sourcePath"),
							},
							name: jsii.String("name"),
						},
					},
				},
			},
		},
		numNodes: jsii.Number(123),
	},
	parameters: parameters,
	platformCapabilities: []*string{
		jsii.String("platformCapabilities"),
	},
	propagateTags: jsii.Boolean(false),
	retryStrategy: &retryStrategyProperty{
		attempts: jsii.Number(123),
		evaluateOnExit: []interface{}{
			&evaluateOnExitProperty{
				action: jsii.String("action"),

				// the properties below are optional
				onExitCode: jsii.String("onExitCode"),
				onReason: jsii.String("onReason"),
				onStatusReason: jsii.String("onStatusReason"),
			},
		},
	},
	schedulingPriority: jsii.Number(123),
	tags: tags,
	timeout: &timeoutProperty{
		attemptDurationSeconds: jsii.Number(123),
	},
}

type CfnJobDefinition_AuthorizationConfigProperty

type CfnJobDefinition_AuthorizationConfigProperty struct {
	// `CfnJobDefinition.AuthorizationConfigProperty.AccessPointId`.
	AccessPointId *string `json:"accessPointId" yaml:"accessPointId"`
	// `CfnJobDefinition.AuthorizationConfigProperty.Iam`.
	Iam *string `json:"iam" yaml:"iam"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
authorizationConfigProperty := &authorizationConfigProperty{
	accessPointId: jsii.String("accessPointId"),
	iam: jsii.String("iam"),
}

type CfnJobDefinition_ContainerPropertiesProperty

type CfnJobDefinition_ContainerPropertiesProperty struct {
	// `CfnJobDefinition.ContainerPropertiesProperty.Image`.
	Image *string `json:"image" yaml:"image"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Command`.
	Command *[]*string `json:"command" yaml:"command"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Environment`.
	Environment interface{} `json:"environment" yaml:"environment"`
	// `CfnJobDefinition.ContainerPropertiesProperty.ExecutionRoleArn`.
	ExecutionRoleArn *string `json:"executionRoleArn" yaml:"executionRoleArn"`
	// `CfnJobDefinition.ContainerPropertiesProperty.FargatePlatformConfiguration`.
	FargatePlatformConfiguration interface{} `json:"fargatePlatformConfiguration" yaml:"fargatePlatformConfiguration"`
	// `CfnJobDefinition.ContainerPropertiesProperty.InstanceType`.
	InstanceType *string `json:"instanceType" yaml:"instanceType"`
	// `CfnJobDefinition.ContainerPropertiesProperty.JobRoleArn`.
	JobRoleArn *string `json:"jobRoleArn" yaml:"jobRoleArn"`
	// `CfnJobDefinition.ContainerPropertiesProperty.LinuxParameters`.
	LinuxParameters interface{} `json:"linuxParameters" yaml:"linuxParameters"`
	// `CfnJobDefinition.ContainerPropertiesProperty.LogConfiguration`.
	LogConfiguration interface{} `json:"logConfiguration" yaml:"logConfiguration"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Memory`.
	Memory *float64 `json:"memory" yaml:"memory"`
	// `CfnJobDefinition.ContainerPropertiesProperty.MountPoints`.
	MountPoints interface{} `json:"mountPoints" yaml:"mountPoints"`
	// `CfnJobDefinition.ContainerPropertiesProperty.NetworkConfiguration`.
	NetworkConfiguration interface{} `json:"networkConfiguration" yaml:"networkConfiguration"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Privileged`.
	Privileged interface{} `json:"privileged" yaml:"privileged"`
	// `CfnJobDefinition.ContainerPropertiesProperty.ReadonlyRootFilesystem`.
	ReadonlyRootFilesystem interface{} `json:"readonlyRootFilesystem" yaml:"readonlyRootFilesystem"`
	// `CfnJobDefinition.ContainerPropertiesProperty.ResourceRequirements`.
	ResourceRequirements interface{} `json:"resourceRequirements" yaml:"resourceRequirements"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Secrets`.
	Secrets interface{} `json:"secrets" yaml:"secrets"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Ulimits`.
	Ulimits interface{} `json:"ulimits" yaml:"ulimits"`
	// `CfnJobDefinition.ContainerPropertiesProperty.User`.
	User *string `json:"user" yaml:"user"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Vcpus`.
	Vcpus *float64 `json:"vcpus" yaml:"vcpus"`
	// `CfnJobDefinition.ContainerPropertiesProperty.Volumes`.
	Volumes interface{} `json:"volumes" yaml:"volumes"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
containerPropertiesProperty := &containerPropertiesProperty{
	image: jsii.String("image"),

	// the properties below are optional
	command: []*string{
		jsii.String("command"),
	},
	environment: []interface{}{
		&environmentProperty{
			name: jsii.String("name"),
			value: jsii.String("value"),
		},
	},
	executionRoleArn: jsii.String("executionRoleArn"),
	fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
		platformVersion: jsii.String("platformVersion"),
	},
	instanceType: jsii.String("instanceType"),
	jobRoleArn: jsii.String("jobRoleArn"),
	linuxParameters: &linuxParametersProperty{
		devices: []interface{}{
			&deviceProperty{
				containerPath: jsii.String("containerPath"),
				hostPath: jsii.String("hostPath"),
				permissions: []*string{
					jsii.String("permissions"),
				},
			},
		},
		initProcessEnabled: jsii.Boolean(false),
		maxSwap: jsii.Number(123),
		sharedMemorySize: jsii.Number(123),
		swappiness: jsii.Number(123),
		tmpfs: []interface{}{
			&tmpfsProperty{
				containerPath: jsii.String("containerPath"),
				size: jsii.Number(123),

				// the properties below are optional
				mountOptions: []*string{
					jsii.String("mountOptions"),
				},
			},
		},
	},
	logConfiguration: &logConfigurationProperty{
		logDriver: jsii.String("logDriver"),

		// the properties below are optional
		options: options,
		secretOptions: []interface{}{
			&secretProperty{
				name: jsii.String("name"),
				valueFrom: jsii.String("valueFrom"),
			},
		},
	},
	memory: jsii.Number(123),
	mountPoints: []interface{}{
		&mountPointsProperty{
			containerPath: jsii.String("containerPath"),
			readOnly: jsii.Boolean(false),
			sourceVolume: jsii.String("sourceVolume"),
		},
	},
	networkConfiguration: &networkConfigurationProperty{
		assignPublicIp: jsii.String("assignPublicIp"),
	},
	privileged: jsii.Boolean(false),
	readonlyRootFilesystem: jsii.Boolean(false),
	resourceRequirements: []interface{}{
		&resourceRequirementProperty{
			type: jsii.String("type"),
			value: jsii.String("value"),
		},
	},
	secrets: []interface{}{
		&secretProperty{
			name: jsii.String("name"),
			valueFrom: jsii.String("valueFrom"),
		},
	},
	ulimits: []interface{}{
		&ulimitProperty{
			hardLimit: jsii.Number(123),
			name: jsii.String("name"),
			softLimit: jsii.Number(123),
		},
	},
	user: jsii.String("user"),
	vcpus: jsii.Number(123),
	volumes: []interface{}{
		&volumesProperty{
			efsVolumeConfiguration: &efsVolumeConfigurationProperty{
				fileSystemId: jsii.String("fileSystemId"),

				// the properties below are optional
				authorizationConfig: &authorizationConfigProperty{
					accessPointId: jsii.String("accessPointId"),
					iam: jsii.String("iam"),
				},
				rootDirectory: jsii.String("rootDirectory"),
				transitEncryption: jsii.String("transitEncryption"),
				transitEncryptionPort: jsii.Number(123),
			},
			host: &volumesHostProperty{
				sourcePath: jsii.String("sourcePath"),
			},
			name: jsii.String("name"),
		},
	},
}

type CfnJobDefinition_DeviceProperty

type CfnJobDefinition_DeviceProperty struct {
	// `CfnJobDefinition.DeviceProperty.ContainerPath`.
	ContainerPath *string `json:"containerPath" yaml:"containerPath"`
	// `CfnJobDefinition.DeviceProperty.HostPath`.
	HostPath *string `json:"hostPath" yaml:"hostPath"`
	// `CfnJobDefinition.DeviceProperty.Permissions`.
	Permissions *[]*string `json:"permissions" yaml:"permissions"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
deviceProperty := &deviceProperty{
	containerPath: jsii.String("containerPath"),
	hostPath: jsii.String("hostPath"),
	permissions: []*string{
		jsii.String("permissions"),
	},
}

type CfnJobDefinition_EfsVolumeConfigurationProperty

type CfnJobDefinition_EfsVolumeConfigurationProperty struct {
	// `CfnJobDefinition.EfsVolumeConfigurationProperty.FileSystemId`.
	FileSystemId *string `json:"fileSystemId" yaml:"fileSystemId"`
	// `CfnJobDefinition.EfsVolumeConfigurationProperty.AuthorizationConfig`.
	AuthorizationConfig interface{} `json:"authorizationConfig" yaml:"authorizationConfig"`
	// `CfnJobDefinition.EfsVolumeConfigurationProperty.RootDirectory`.
	RootDirectory *string `json:"rootDirectory" yaml:"rootDirectory"`
	// `CfnJobDefinition.EfsVolumeConfigurationProperty.TransitEncryption`.
	TransitEncryption *string `json:"transitEncryption" yaml:"transitEncryption"`
	// `CfnJobDefinition.EfsVolumeConfigurationProperty.TransitEncryptionPort`.
	TransitEncryptionPort *float64 `json:"transitEncryptionPort" yaml:"transitEncryptionPort"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
efsVolumeConfigurationProperty := &efsVolumeConfigurationProperty{
	fileSystemId: jsii.String("fileSystemId"),

	// the properties below are optional
	authorizationConfig: &authorizationConfigProperty{
		accessPointId: jsii.String("accessPointId"),
		iam: jsii.String("iam"),
	},
	rootDirectory: jsii.String("rootDirectory"),
	transitEncryption: jsii.String("transitEncryption"),
	transitEncryptionPort: jsii.Number(123),
}

type CfnJobDefinition_EnvironmentProperty

type CfnJobDefinition_EnvironmentProperty struct {
	// `CfnJobDefinition.EnvironmentProperty.Name`.
	Name *string `json:"name" yaml:"name"`
	// `CfnJobDefinition.EnvironmentProperty.Value`.
	Value *string `json:"value" yaml:"value"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
environmentProperty := &environmentProperty{
	name: jsii.String("name"),
	value: jsii.String("value"),
}

type CfnJobDefinition_EvaluateOnExitProperty

type CfnJobDefinition_EvaluateOnExitProperty struct {
	// `CfnJobDefinition.EvaluateOnExitProperty.Action`.
	Action *string `json:"action" yaml:"action"`
	// `CfnJobDefinition.EvaluateOnExitProperty.OnExitCode`.
	OnExitCode *string `json:"onExitCode" yaml:"onExitCode"`
	// `CfnJobDefinition.EvaluateOnExitProperty.OnReason`.
	OnReason *string `json:"onReason" yaml:"onReason"`
	// `CfnJobDefinition.EvaluateOnExitProperty.OnStatusReason`.
	OnStatusReason *string `json:"onStatusReason" yaml:"onStatusReason"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
evaluateOnExitProperty := &evaluateOnExitProperty{
	action: jsii.String("action"),

	// the properties below are optional
	onExitCode: jsii.String("onExitCode"),
	onReason: jsii.String("onReason"),
	onStatusReason: jsii.String("onStatusReason"),
}

type CfnJobDefinition_FargatePlatformConfigurationProperty

type CfnJobDefinition_FargatePlatformConfigurationProperty struct {
	// `CfnJobDefinition.FargatePlatformConfigurationProperty.PlatformVersion`.
	PlatformVersion *string `json:"platformVersion" yaml:"platformVersion"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
fargatePlatformConfigurationProperty := &fargatePlatformConfigurationProperty{
	platformVersion: jsii.String("platformVersion"),
}

type CfnJobDefinition_LinuxParametersProperty

type CfnJobDefinition_LinuxParametersProperty struct {
	// `CfnJobDefinition.LinuxParametersProperty.Devices`.
	Devices interface{} `json:"devices" yaml:"devices"`
	// `CfnJobDefinition.LinuxParametersProperty.InitProcessEnabled`.
	InitProcessEnabled interface{} `json:"initProcessEnabled" yaml:"initProcessEnabled"`
	// `CfnJobDefinition.LinuxParametersProperty.MaxSwap`.
	MaxSwap *float64 `json:"maxSwap" yaml:"maxSwap"`
	// `CfnJobDefinition.LinuxParametersProperty.SharedMemorySize`.
	SharedMemorySize *float64 `json:"sharedMemorySize" yaml:"sharedMemorySize"`
	// `CfnJobDefinition.LinuxParametersProperty.Swappiness`.
	Swappiness *float64 `json:"swappiness" yaml:"swappiness"`
	// `CfnJobDefinition.LinuxParametersProperty.Tmpfs`.
	Tmpfs interface{} `json:"tmpfs" yaml:"tmpfs"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
linuxParametersProperty := &linuxParametersProperty{
	devices: []interface{}{
		&deviceProperty{
			containerPath: jsii.String("containerPath"),
			hostPath: jsii.String("hostPath"),
			permissions: []*string{
				jsii.String("permissions"),
			},
		},
	},
	initProcessEnabled: jsii.Boolean(false),
	maxSwap: jsii.Number(123),
	sharedMemorySize: jsii.Number(123),
	swappiness: jsii.Number(123),
	tmpfs: []interface{}{
		&tmpfsProperty{
			containerPath: jsii.String("containerPath"),
			size: jsii.Number(123),

			// the properties below are optional
			mountOptions: []*string{
				jsii.String("mountOptions"),
			},
		},
	},
}

type CfnJobDefinition_LogConfigurationProperty

type CfnJobDefinition_LogConfigurationProperty struct {
	// `CfnJobDefinition.LogConfigurationProperty.LogDriver`.
	LogDriver *string `json:"logDriver" yaml:"logDriver"`
	// `CfnJobDefinition.LogConfigurationProperty.Options`.
	Options interface{} `json:"options" yaml:"options"`
	// `CfnJobDefinition.LogConfigurationProperty.SecretOptions`.
	SecretOptions interface{} `json:"secretOptions" yaml:"secretOptions"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
logConfigurationProperty := &logConfigurationProperty{
	logDriver: jsii.String("logDriver"),

	// the properties below are optional
	options: options,
	secretOptions: []interface{}{
		&secretProperty{
			name: jsii.String("name"),
			valueFrom: jsii.String("valueFrom"),
		},
	},
}

type CfnJobDefinition_MountPointsProperty

type CfnJobDefinition_MountPointsProperty struct {
	// `CfnJobDefinition.MountPointsProperty.ContainerPath`.
	ContainerPath *string `json:"containerPath" yaml:"containerPath"`
	// `CfnJobDefinition.MountPointsProperty.ReadOnly`.
	ReadOnly interface{} `json:"readOnly" yaml:"readOnly"`
	// `CfnJobDefinition.MountPointsProperty.SourceVolume`.
	SourceVolume *string `json:"sourceVolume" yaml:"sourceVolume"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
mountPointsProperty := &mountPointsProperty{
	containerPath: jsii.String("containerPath"),
	readOnly: jsii.Boolean(false),
	sourceVolume: jsii.String("sourceVolume"),
}

type CfnJobDefinition_NetworkConfigurationProperty

type CfnJobDefinition_NetworkConfigurationProperty struct {
	// `CfnJobDefinition.NetworkConfigurationProperty.AssignPublicIp`.
	AssignPublicIp *string `json:"assignPublicIp" yaml:"assignPublicIp"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
networkConfigurationProperty := &networkConfigurationProperty{
	assignPublicIp: jsii.String("assignPublicIp"),
}

type CfnJobDefinition_NodePropertiesProperty

type CfnJobDefinition_NodePropertiesProperty struct {
	// `CfnJobDefinition.NodePropertiesProperty.MainNode`.
	MainNode *float64 `json:"mainNode" yaml:"mainNode"`
	// `CfnJobDefinition.NodePropertiesProperty.NodeRangeProperties`.
	NodeRangeProperties interface{} `json:"nodeRangeProperties" yaml:"nodeRangeProperties"`
	// `CfnJobDefinition.NodePropertiesProperty.NumNodes`.
	NumNodes *float64 `json:"numNodes" yaml:"numNodes"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
nodePropertiesProperty := &nodePropertiesProperty{
	mainNode: jsii.Number(123),
	nodeRangeProperties: []interface{}{
		&nodeRangePropertyProperty{
			targetNodes: jsii.String("targetNodes"),

			// the properties below are optional
			container: &containerPropertiesProperty{
				image: jsii.String("image"),

				// the properties below are optional
				command: []*string{
					jsii.String("command"),
				},
				environment: []interface{}{
					&environmentProperty{
						name: jsii.String("name"),
						value: jsii.String("value"),
					},
				},
				executionRoleArn: jsii.String("executionRoleArn"),
				fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
					platformVersion: jsii.String("platformVersion"),
				},
				instanceType: jsii.String("instanceType"),
				jobRoleArn: jsii.String("jobRoleArn"),
				linuxParameters: &linuxParametersProperty{
					devices: []interface{}{
						&deviceProperty{
							containerPath: jsii.String("containerPath"),
							hostPath: jsii.String("hostPath"),
							permissions: []*string{
								jsii.String("permissions"),
							},
						},
					},
					initProcessEnabled: jsii.Boolean(false),
					maxSwap: jsii.Number(123),
					sharedMemorySize: jsii.Number(123),
					swappiness: jsii.Number(123),
					tmpfs: []interface{}{
						&tmpfsProperty{
							containerPath: jsii.String("containerPath"),
							size: jsii.Number(123),

							// the properties below are optional
							mountOptions: []*string{
								jsii.String("mountOptions"),
							},
						},
					},
				},
				logConfiguration: &logConfigurationProperty{
					logDriver: jsii.String("logDriver"),

					// the properties below are optional
					options: options,
					secretOptions: []interface{}{
						&secretProperty{
							name: jsii.String("name"),
							valueFrom: jsii.String("valueFrom"),
						},
					},
				},
				memory: jsii.Number(123),
				mountPoints: []interface{}{
					&mountPointsProperty{
						containerPath: jsii.String("containerPath"),
						readOnly: jsii.Boolean(false),
						sourceVolume: jsii.String("sourceVolume"),
					},
				},
				networkConfiguration: &networkConfigurationProperty{
					assignPublicIp: jsii.String("assignPublicIp"),
				},
				privileged: jsii.Boolean(false),
				readonlyRootFilesystem: jsii.Boolean(false),
				resourceRequirements: []interface{}{
					&resourceRequirementProperty{
						type: jsii.String("type"),
						value: jsii.String("value"),
					},
				},
				secrets: []interface{}{
					&secretProperty{
						name: jsii.String("name"),
						valueFrom: jsii.String("valueFrom"),
					},
				},
				ulimits: []interface{}{
					&ulimitProperty{
						hardLimit: jsii.Number(123),
						name: jsii.String("name"),
						softLimit: jsii.Number(123),
					},
				},
				user: jsii.String("user"),
				vcpus: jsii.Number(123),
				volumes: []interface{}{
					&volumesProperty{
						efsVolumeConfiguration: &efsVolumeConfigurationProperty{
							fileSystemId: jsii.String("fileSystemId"),

							// the properties below are optional
							authorizationConfig: &authorizationConfigProperty{
								accessPointId: jsii.String("accessPointId"),
								iam: jsii.String("iam"),
							},
							rootDirectory: jsii.String("rootDirectory"),
							transitEncryption: jsii.String("transitEncryption"),
							transitEncryptionPort: jsii.Number(123),
						},
						host: &volumesHostProperty{
							sourcePath: jsii.String("sourcePath"),
						},
						name: jsii.String("name"),
					},
				},
			},
		},
	},
	numNodes: jsii.Number(123),
}

type CfnJobDefinition_NodeRangePropertyProperty

type CfnJobDefinition_NodeRangePropertyProperty struct {
	// `CfnJobDefinition.NodeRangePropertyProperty.TargetNodes`.
	TargetNodes *string `json:"targetNodes" yaml:"targetNodes"`
	// `CfnJobDefinition.NodeRangePropertyProperty.Container`.
	Container interface{} `json:"container" yaml:"container"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"

var options interface{}
nodeRangePropertyProperty := &nodeRangePropertyProperty{
	targetNodes: jsii.String("targetNodes"),

	// the properties below are optional
	container: &containerPropertiesProperty{
		image: jsii.String("image"),

		// the properties below are optional
		command: []*string{
			jsii.String("command"),
		},
		environment: []interface{}{
			&environmentProperty{
				name: jsii.String("name"),
				value: jsii.String("value"),
			},
		},
		executionRoleArn: jsii.String("executionRoleArn"),
		fargatePlatformConfiguration: &fargatePlatformConfigurationProperty{
			platformVersion: jsii.String("platformVersion"),
		},
		instanceType: jsii.String("instanceType"),
		jobRoleArn: jsii.String("jobRoleArn"),
		linuxParameters: &linuxParametersProperty{
			devices: []interface{}{
				&deviceProperty{
					containerPath: jsii.String("containerPath"),
					hostPath: jsii.String("hostPath"),
					permissions: []*string{
						jsii.String("permissions"),
					},
				},
			},
			initProcessEnabled: jsii.Boolean(false),
			maxSwap: jsii.Number(123),
			sharedMemorySize: jsii.Number(123),
			swappiness: jsii.Number(123),
			tmpfs: []interface{}{
				&tmpfsProperty{
					containerPath: jsii.String("containerPath"),
					size: jsii.Number(123),

					// the properties below are optional
					mountOptions: []*string{
						jsii.String("mountOptions"),
					},
				},
			},
		},
		logConfiguration: &logConfigurationProperty{
			logDriver: jsii.String("logDriver"),

			// the properties below are optional
			options: options,
			secretOptions: []interface{}{
				&secretProperty{
					name: jsii.String("name"),
					valueFrom: jsii.String("valueFrom"),
				},
			},
		},
		memory: jsii.Number(123),
		mountPoints: []interface{}{
			&mountPointsProperty{
				containerPath: jsii.String("containerPath"),
				readOnly: jsii.Boolean(false),
				sourceVolume: jsii.String("sourceVolume"),
			},
		},
		networkConfiguration: &networkConfigurationProperty{
			assignPublicIp: jsii.String("assignPublicIp"),
		},
		privileged: jsii.Boolean(false),
		readonlyRootFilesystem: jsii.Boolean(false),
		resourceRequirements: []interface{}{
			&resourceRequirementProperty{
				type: jsii.String("type"),
				value: jsii.String("value"),
			},
		},
		secrets: []interface{}{
			&secretProperty{
				name: jsii.String("name"),
				valueFrom: jsii.String("valueFrom"),
			},
		},
		ulimits: []interface{}{
			&ulimitProperty{
				hardLimit: jsii.Number(123),
				name: jsii.String("name"),
				softLimit: jsii.Number(123),
			},
		},
		user: jsii.String("user"),
		vcpus: jsii.Number(123),
		volumes: []interface{}{
			&volumesProperty{
				efsVolumeConfiguration: &efsVolumeConfigurationProperty{
					fileSystemId: jsii.String("fileSystemId"),

					// the properties below are optional
					authorizationConfig: &authorizationConfigProperty{
						accessPointId: jsii.String("accessPointId"),
						iam: jsii.String("iam"),
					},
					rootDirectory: jsii.String("rootDirectory"),
					transitEncryption: jsii.String("transitEncryption"),
					transitEncryptionPort: jsii.Number(123),
				},
				host: &volumesHostProperty{
					sourcePath: jsii.String("sourcePath"),
				},
				name: jsii.String("name"),
			},
		},
	},
}

type CfnJobDefinition_ResourceRequirementProperty

type CfnJobDefinition_ResourceRequirementProperty struct {
	// `CfnJobDefinition.ResourceRequirementProperty.Type`.
	Type *string `json:"type" yaml:"type"`
	// `CfnJobDefinition.ResourceRequirementProperty.Value`.
	Value *string `json:"value" yaml:"value"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
resourceRequirementProperty := &resourceRequirementProperty{
	type: jsii.String("type"),
	value: jsii.String("value"),
}

type CfnJobDefinition_RetryStrategyProperty

type CfnJobDefinition_RetryStrategyProperty struct {
	// `CfnJobDefinition.RetryStrategyProperty.Attempts`.
	Attempts *float64 `json:"attempts" yaml:"attempts"`
	// `CfnJobDefinition.RetryStrategyProperty.EvaluateOnExit`.
	EvaluateOnExit interface{} `json:"evaluateOnExit" yaml:"evaluateOnExit"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
retryStrategyProperty := &retryStrategyProperty{
	attempts: jsii.Number(123),
	evaluateOnExit: []interface{}{
		&evaluateOnExitProperty{
			action: jsii.String("action"),

			// the properties below are optional
			onExitCode: jsii.String("onExitCode"),
			onReason: jsii.String("onReason"),
			onStatusReason: jsii.String("onStatusReason"),
		},
	},
}

type CfnJobDefinition_SecretProperty

type CfnJobDefinition_SecretProperty struct {
	// `CfnJobDefinition.SecretProperty.Name`.
	Name *string `json:"name" yaml:"name"`
	// `CfnJobDefinition.SecretProperty.ValueFrom`.
	ValueFrom *string `json:"valueFrom" yaml:"valueFrom"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
secretProperty := &secretProperty{
	name: jsii.String("name"),
	valueFrom: jsii.String("valueFrom"),
}

type CfnJobDefinition_TimeoutProperty

type CfnJobDefinition_TimeoutProperty struct {
	// `CfnJobDefinition.TimeoutProperty.AttemptDurationSeconds`.
	AttemptDurationSeconds *float64 `json:"attemptDurationSeconds" yaml:"attemptDurationSeconds"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
timeoutProperty := &timeoutProperty{
	attemptDurationSeconds: jsii.Number(123),
}

type CfnJobDefinition_TmpfsProperty

type CfnJobDefinition_TmpfsProperty struct {
	// `CfnJobDefinition.TmpfsProperty.ContainerPath`.
	ContainerPath *string `json:"containerPath" yaml:"containerPath"`
	// `CfnJobDefinition.TmpfsProperty.Size`.
	Size *float64 `json:"size" yaml:"size"`
	// `CfnJobDefinition.TmpfsProperty.MountOptions`.
	MountOptions *[]*string `json:"mountOptions" yaml:"mountOptions"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
tmpfsProperty := &tmpfsProperty{
	containerPath: jsii.String("containerPath"),
	size: jsii.Number(123),

	// the properties below are optional
	mountOptions: []*string{
		jsii.String("mountOptions"),
	},
}

type CfnJobDefinition_UlimitProperty

type CfnJobDefinition_UlimitProperty struct {
	// `CfnJobDefinition.UlimitProperty.HardLimit`.
	HardLimit *float64 `json:"hardLimit" yaml:"hardLimit"`
	// `CfnJobDefinition.UlimitProperty.Name`.
	Name *string `json:"name" yaml:"name"`
	// `CfnJobDefinition.UlimitProperty.SoftLimit`.
	SoftLimit *float64 `json:"softLimit" yaml:"softLimit"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
ulimitProperty := &ulimitProperty{
	hardLimit: jsii.Number(123),
	name: jsii.String("name"),
	softLimit: jsii.Number(123),
}

type CfnJobDefinition_VolumesHostProperty

type CfnJobDefinition_VolumesHostProperty struct {
	// `CfnJobDefinition.VolumesHostProperty.SourcePath`.
	SourcePath *string `json:"sourcePath" yaml:"sourcePath"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
volumesHostProperty := &volumesHostProperty{
	sourcePath: jsii.String("sourcePath"),
}

type CfnJobDefinition_VolumesProperty

type CfnJobDefinition_VolumesProperty struct {
	// `CfnJobDefinition.VolumesProperty.EfsVolumeConfiguration`.
	EfsVolumeConfiguration interface{} `json:"efsVolumeConfiguration" yaml:"efsVolumeConfiguration"`
	// `CfnJobDefinition.VolumesProperty.Host`.
	Host interface{} `json:"host" yaml:"host"`
	// `CfnJobDefinition.VolumesProperty.Name`.
	Name *string `json:"name" yaml:"name"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
volumesProperty := &volumesProperty{
	efsVolumeConfiguration: &efsVolumeConfigurationProperty{
		fileSystemId: jsii.String("fileSystemId"),

		// the properties below are optional
		authorizationConfig: &authorizationConfigProperty{
			accessPointId: jsii.String("accessPointId"),
			iam: jsii.String("iam"),
		},
		rootDirectory: jsii.String("rootDirectory"),
		transitEncryption: jsii.String("transitEncryption"),
		transitEncryptionPort: jsii.Number(123),
	},
	host: &volumesHostProperty{
		sourcePath: jsii.String("sourcePath"),
	},
	name: jsii.String("name"),
}

type CfnJobQueue

type CfnJobQueue interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrJobQueueArn() *string
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// `AWS::Batch::JobQueue.ComputeEnvironmentOrder`.
	ComputeEnvironmentOrder() interface{}
	SetComputeEnvironmentOrder(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// `AWS::Batch::JobQueue.JobQueueName`.
	JobQueueName() *string
	SetJobQueueName(val *string)
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The tree node.
	Node() constructs.Node
	// `AWS::Batch::JobQueue.Priority`.
	Priority() *float64
	SetPriority(val *float64)
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// `AWS::Batch::JobQueue.SchedulingPolicyArn`.
	SchedulingPolicyArn() *string
	SetSchedulingPolicyArn(val *string)
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// `AWS::Batch::JobQueue.State`.
	State() *string
	SetState(val *string)
	// `AWS::Batch::JobQueue.Tags`.
	Tags() awscdk.TagManager
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Batch::JobQueue`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnJobQueue := batch.NewCfnJobQueue(this, jsii.String("MyCfnJobQueue"), &cfnJobQueueProps{
	computeEnvironmentOrder: []interface{}{
		&computeEnvironmentOrderProperty{
			computeEnvironment: jsii.String("computeEnvironment"),
			order: jsii.Number(123),
		},
	},
	priority: jsii.Number(123),

	// the properties below are optional
	jobQueueName: jsii.String("jobQueueName"),
	schedulingPolicyArn: jsii.String("schedulingPolicyArn"),
	state: jsii.String("state"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

func NewCfnJobQueue

func NewCfnJobQueue(scope constructs.Construct, id *string, props *CfnJobQueueProps) CfnJobQueue

Create a new `AWS::Batch::JobQueue`.

type CfnJobQueueProps

type CfnJobQueueProps struct {
	// `AWS::Batch::JobQueue.ComputeEnvironmentOrder`.
	ComputeEnvironmentOrder interface{} `json:"computeEnvironmentOrder" yaml:"computeEnvironmentOrder"`
	// `AWS::Batch::JobQueue.Priority`.
	Priority *float64 `json:"priority" yaml:"priority"`
	// `AWS::Batch::JobQueue.JobQueueName`.
	JobQueueName *string `json:"jobQueueName" yaml:"jobQueueName"`
	// `AWS::Batch::JobQueue.SchedulingPolicyArn`.
	SchedulingPolicyArn *string `json:"schedulingPolicyArn" yaml:"schedulingPolicyArn"`
	// `AWS::Batch::JobQueue.State`.
	State *string `json:"state" yaml:"state"`
	// `AWS::Batch::JobQueue.Tags`.
	Tags *map[string]*string `json:"tags" yaml:"tags"`
}

Properties for defining a `CfnJobQueue`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnJobQueueProps := &cfnJobQueueProps{
	computeEnvironmentOrder: []interface{}{
		&computeEnvironmentOrderProperty{
			computeEnvironment: jsii.String("computeEnvironment"),
			order: jsii.Number(123),
		},
	},
	priority: jsii.Number(123),

	// the properties below are optional
	jobQueueName: jsii.String("jobQueueName"),
	schedulingPolicyArn: jsii.String("schedulingPolicyArn"),
	state: jsii.String("state"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

type CfnJobQueue_ComputeEnvironmentOrderProperty

type CfnJobQueue_ComputeEnvironmentOrderProperty struct {
	// `CfnJobQueue.ComputeEnvironmentOrderProperty.ComputeEnvironment`.
	ComputeEnvironment *string `json:"computeEnvironment" yaml:"computeEnvironment"`
	// `CfnJobQueue.ComputeEnvironmentOrderProperty.Order`.
	Order *float64 `json:"order" yaml:"order"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
computeEnvironmentOrderProperty := &computeEnvironmentOrderProperty{
	computeEnvironment: jsii.String("computeEnvironment"),
	order: jsii.Number(123),
}

type CfnSchedulingPolicy

type CfnSchedulingPolicy interface {
	awscdk.CfnResource
	awscdk.IInspectable
	AttrArn() *string
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// `AWS::Batch::SchedulingPolicy.FairsharePolicy`.
	FairsharePolicy() interface{}
	SetFairsharePolicy(val interface{})
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// `AWS::Batch::SchedulingPolicy.Name`.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// `AWS::Batch::SchedulingPolicy.Tags`.
	Tags() awscdk.TagManager
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

A CloudFormation `AWS::Batch::SchedulingPolicy`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnSchedulingPolicy := batch.NewCfnSchedulingPolicy(this, jsii.String("MyCfnSchedulingPolicy"), &cfnSchedulingPolicyProps{
	fairsharePolicy: &fairsharePolicyProperty{
		computeReservation: jsii.Number(123),
		shareDecaySeconds: jsii.Number(123),
		shareDistribution: []interface{}{
			&shareAttributesProperty{
				shareIdentifier: jsii.String("shareIdentifier"),
				weightFactor: jsii.Number(123),
			},
		},
	},
	name: jsii.String("name"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

func NewCfnSchedulingPolicy

func NewCfnSchedulingPolicy(scope constructs.Construct, id *string, props *CfnSchedulingPolicyProps) CfnSchedulingPolicy

Create a new `AWS::Batch::SchedulingPolicy`.

type CfnSchedulingPolicyProps

type CfnSchedulingPolicyProps struct {
	// `AWS::Batch::SchedulingPolicy.FairsharePolicy`.
	FairsharePolicy interface{} `json:"fairsharePolicy" yaml:"fairsharePolicy"`
	// `AWS::Batch::SchedulingPolicy.Name`.
	Name *string `json:"name" yaml:"name"`
	// `AWS::Batch::SchedulingPolicy.Tags`.
	Tags *map[string]*string `json:"tags" yaml:"tags"`
}

Properties for defining a `CfnSchedulingPolicy`.

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
cfnSchedulingPolicyProps := &cfnSchedulingPolicyProps{
	fairsharePolicy: &fairsharePolicyProperty{
		computeReservation: jsii.Number(123),
		shareDecaySeconds: jsii.Number(123),
		shareDistribution: []interface{}{
			&shareAttributesProperty{
				shareIdentifier: jsii.String("shareIdentifier"),
				weightFactor: jsii.Number(123),
			},
		},
	},
	name: jsii.String("name"),
	tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

type CfnSchedulingPolicy_FairsharePolicyProperty

type CfnSchedulingPolicy_FairsharePolicyProperty struct {
	// `CfnSchedulingPolicy.FairsharePolicyProperty.ComputeReservation`.
	ComputeReservation *float64 `json:"computeReservation" yaml:"computeReservation"`
	// `CfnSchedulingPolicy.FairsharePolicyProperty.ShareDecaySeconds`.
	ShareDecaySeconds *float64 `json:"shareDecaySeconds" yaml:"shareDecaySeconds"`
	// `CfnSchedulingPolicy.FairsharePolicyProperty.ShareDistribution`.
	ShareDistribution interface{} `json:"shareDistribution" yaml:"shareDistribution"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
fairsharePolicyProperty := &fairsharePolicyProperty{
	computeReservation: jsii.Number(123),
	shareDecaySeconds: jsii.Number(123),
	shareDistribution: []interface{}{
		&shareAttributesProperty{
			shareIdentifier: jsii.String("shareIdentifier"),
			weightFactor: jsii.Number(123),
		},
	},
}

type CfnSchedulingPolicy_ShareAttributesProperty

type CfnSchedulingPolicy_ShareAttributesProperty struct {
	// `CfnSchedulingPolicy.ShareAttributesProperty.ShareIdentifier`.
	ShareIdentifier *string `json:"shareIdentifier" yaml:"shareIdentifier"`
	// `CfnSchedulingPolicy.ShareAttributesProperty.WeightFactor`.
	WeightFactor *float64 `json:"weightFactor" yaml:"weightFactor"`
}

Example:

import awscdk "github.com/aws/aws-cdk-go/awscdk"import batch "github.com/aws/aws-cdk-go/awscdk/aws_batch"
shareAttributesProperty := &shareAttributesProperty{
	shareIdentifier: jsii.String("shareIdentifier"),
	weightFactor: jsii.Number(123),
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL