Documentation ¶
Index ¶
- func CfnComputeEnvironment_CFN_RESOURCE_TYPE_NAME() *string
- func CfnComputeEnvironment_IsCfnElement(x interface{}) *bool
- func CfnComputeEnvironment_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnComputeEnvironment_IsConstruct(x interface{}) *bool
- func CfnJobDefinition_CFN_RESOURCE_TYPE_NAME() *string
- func CfnJobDefinition_IsCfnElement(x interface{}) *bool
- func CfnJobDefinition_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnJobDefinition_IsConstruct(x interface{}) *bool
- func CfnJobQueue_CFN_RESOURCE_TYPE_NAME() *string
- func CfnJobQueue_IsCfnElement(x interface{}) *bool
- func CfnJobQueue_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnJobQueue_IsConstruct(x interface{}) *bool
- func ComputeEnvironment_IsConstruct(x interface{}) *bool
- func ComputeEnvironment_IsResource(construct awscdk.IConstruct) *bool
- func JobDefinition_IsConstruct(x interface{}) *bool
- func JobDefinition_IsResource(construct awscdk.IConstruct) *bool
- func JobQueue_IsConstruct(x interface{}) *bool
- func JobQueue_IsResource(construct awscdk.IConstruct) *bool
- func NewCfnComputeEnvironment_Override(c CfnComputeEnvironment, scope awscdk.Construct, id *string, ...)
- func NewCfnJobDefinition_Override(c CfnJobDefinition, scope awscdk.Construct, id *string, ...)
- func NewCfnJobQueue_Override(c CfnJobQueue, scope awscdk.Construct, id *string, props *CfnJobQueueProps)
- func NewComputeEnvironment_Override(c ComputeEnvironment, scope constructs.Construct, id *string, ...)
- func NewExposedSecret_Override(e ExposedSecret, optionName *string, secretArn *string)
- func NewJobDefinition_Override(j JobDefinition, scope constructs.Construct, id *string, ...)
- func NewJobQueue_Override(j JobQueue, scope constructs.Construct, id *string, props *JobQueueProps)
- type AllocationStrategy
- type CfnComputeEnvironment
- type CfnComputeEnvironmentProps
- type CfnComputeEnvironment_ComputeResourcesProperty
- type CfnComputeEnvironment_Ec2ConfigurationObjectProperty
- type CfnComputeEnvironment_LaunchTemplateSpecificationProperty
- type CfnJobDefinition
- type CfnJobDefinitionProps
- type CfnJobDefinition_AuthorizationConfigProperty
- type CfnJobDefinition_ContainerPropertiesProperty
- type CfnJobDefinition_DeviceProperty
- type CfnJobDefinition_EfsVolumeConfigurationProperty
- type CfnJobDefinition_EnvironmentProperty
- type CfnJobDefinition_EvaluateOnExitProperty
- type CfnJobDefinition_FargatePlatformConfigurationProperty
- type CfnJobDefinition_LinuxParametersProperty
- type CfnJobDefinition_LogConfigurationProperty
- type CfnJobDefinition_MountPointsProperty
- type CfnJobDefinition_NetworkConfigurationProperty
- type CfnJobDefinition_NodePropertiesProperty
- type CfnJobDefinition_NodeRangePropertyProperty
- type CfnJobDefinition_ResourceRequirementProperty
- type CfnJobDefinition_RetryStrategyProperty
- type CfnJobDefinition_SecretProperty
- type CfnJobDefinition_TimeoutProperty
- type CfnJobDefinition_TmpfsProperty
- type CfnJobDefinition_UlimitProperty
- type CfnJobDefinition_VolumesHostProperty
- type CfnJobDefinition_VolumesProperty
- type CfnJobQueue
- type CfnJobQueueProps
- type CfnJobQueue_ComputeEnvironmentOrderProperty
- type ComputeEnvironment
- type ComputeEnvironmentProps
- type ComputeResourceType
- type ComputeResources
- type ExposedSecret
- type IComputeEnvironment
- type IJobDefinition
- type IJobQueue
- type IMultiNodeProps
- type INodeRangeProps
- type JobDefinition
- type JobDefinitionContainer
- type JobDefinitionProps
- type JobQueue
- type JobQueueComputeEnvironment
- type JobQueueProps
- type LaunchTemplateSpecification
- type LogConfiguration
- type LogDriver
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. Experimental.
func CfnComputeEnvironment_IsCfnResource ¶
func CfnComputeEnvironment_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnComputeEnvironment_IsConstruct ¶
func CfnComputeEnvironment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
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. Experimental.
func CfnJobDefinition_IsCfnResource ¶
func CfnJobDefinition_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnJobDefinition_IsConstruct ¶
func CfnJobDefinition_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
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. Experimental.
func CfnJobQueue_IsCfnResource ¶
func CfnJobQueue_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnJobQueue_IsConstruct ¶
func CfnJobQueue_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func ComputeEnvironment_IsConstruct ¶
func ComputeEnvironment_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func ComputeEnvironment_IsResource ¶
func ComputeEnvironment_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func JobDefinition_IsConstruct ¶
func JobDefinition_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func JobDefinition_IsResource ¶
func JobDefinition_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func JobQueue_IsConstruct ¶
func JobQueue_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func JobQueue_IsResource ¶
func JobQueue_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewCfnComputeEnvironment_Override ¶
func NewCfnComputeEnvironment_Override(c CfnComputeEnvironment, scope awscdk.Construct, id *string, props *CfnComputeEnvironmentProps)
Create a new `AWS::Batch::ComputeEnvironment`.
func NewCfnJobDefinition_Override ¶
func NewCfnJobDefinition_Override(c CfnJobDefinition, scope awscdk.Construct, id *string, props *CfnJobDefinitionProps)
Create a new `AWS::Batch::JobDefinition`.
func NewCfnJobQueue_Override ¶
func NewCfnJobQueue_Override(c CfnJobQueue, scope awscdk.Construct, id *string, props *CfnJobQueueProps)
Create a new `AWS::Batch::JobQueue`.
func NewComputeEnvironment_Override ¶
func NewComputeEnvironment_Override(c ComputeEnvironment, scope constructs.Construct, id *string, props *ComputeEnvironmentProps)
Experimental.
func NewExposedSecret_Override ¶
func NewExposedSecret_Override(e ExposedSecret, optionName *string, secretArn *string)
Experimental.
func NewJobDefinition_Override ¶
func NewJobDefinition_Override(j JobDefinition, scope constructs.Construct, id *string, props *JobDefinitionProps)
Experimental.
func NewJobQueue_Override ¶
func NewJobQueue_Override(j JobQueue, scope constructs.Construct, id *string, props *JobQueueProps)
Experimental.
Types ¶
type AllocationStrategy ¶
type AllocationStrategy string
Properties for how to prepare compute resources that are provisioned for a compute environment. Experimental.
const ( AllocationStrategy_BEST_FIT AllocationStrategy = "BEST_FIT" AllocationStrategy_BEST_FIT_PROGRESSIVE AllocationStrategy = "BEST_FIT_PROGRESSIVE" AllocationStrategy_SPOT_CAPACITY_OPTIMIZED AllocationStrategy = "SPOT_CAPACITY_OPTIMIZED" )
type CfnComputeEnvironment ¶
type CfnComputeEnvironment interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ComputeEnvironmentName() *string SetComputeEnvironmentName(val *string) ComputeResources() interface{} SetComputeResources(val interface{}) CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Ref() *string ServiceRole() *string SetServiceRole(val *string) Stack() awscdk.Stack State() *string SetState(val *string) Tags() awscdk.TagManager Type() *string SetType(val *string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Batch::ComputeEnvironment`.
func NewCfnComputeEnvironment ¶
func NewCfnComputeEnvironment(scope awscdk.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"` // `AWS::Batch::ComputeEnvironment.ComputeEnvironmentName`. ComputeEnvironmentName *string `json:"computeEnvironmentName"` // `AWS::Batch::ComputeEnvironment.ComputeResources`. ComputeResources interface{} `json:"computeResources"` // `AWS::Batch::ComputeEnvironment.ServiceRole`. ServiceRole *string `json:"serviceRole"` // `AWS::Batch::ComputeEnvironment.State`. State *string `json:"state"` // `AWS::Batch::ComputeEnvironment.Tags`. Tags interface{} `json:"tags"` }
Properties for defining a `AWS::Batch::ComputeEnvironment`.
type CfnComputeEnvironment_ComputeResourcesProperty ¶
type CfnComputeEnvironment_ComputeResourcesProperty struct { // `CfnComputeEnvironment.ComputeResourcesProperty.MaxvCpus`. MaxvCpus *float64 `json:"maxvCpus"` // `CfnComputeEnvironment.ComputeResourcesProperty.Subnets`. Subnets *[]*string `json:"subnets"` // `CfnComputeEnvironment.ComputeResourcesProperty.Type`. Type *string `json:"type"` // `CfnComputeEnvironment.ComputeResourcesProperty.AllocationStrategy`. AllocationStrategy *string `json:"allocationStrategy"` // `CfnComputeEnvironment.ComputeResourcesProperty.BidPercentage`. BidPercentage *float64 `json:"bidPercentage"` // `CfnComputeEnvironment.ComputeResourcesProperty.DesiredvCpus`. DesiredvCpus *float64 `json:"desiredvCpus"` // `CfnComputeEnvironment.ComputeResourcesProperty.Ec2Configuration`. Ec2Configuration interface{} `json:"ec2Configuration"` // `CfnComputeEnvironment.ComputeResourcesProperty.Ec2KeyPair`. Ec2KeyPair *string `json:"ec2KeyPair"` // `CfnComputeEnvironment.ComputeResourcesProperty.ImageId`. ImageId *string `json:"imageId"` // `CfnComputeEnvironment.ComputeResourcesProperty.InstanceRole`. InstanceRole *string `json:"instanceRole"` // `CfnComputeEnvironment.ComputeResourcesProperty.InstanceTypes`. InstanceTypes *[]*string `json:"instanceTypes"` // `CfnComputeEnvironment.ComputeResourcesProperty.LaunchTemplate`. LaunchTemplate interface{} `json:"launchTemplate"` // `CfnComputeEnvironment.ComputeResourcesProperty.MinvCpus`. MinvCpus *float64 `json:"minvCpus"` // `CfnComputeEnvironment.ComputeResourcesProperty.PlacementGroup`. PlacementGroup *string `json:"placementGroup"` // `CfnComputeEnvironment.ComputeResourcesProperty.SecurityGroupIds`. SecurityGroupIds *[]*string `json:"securityGroupIds"` // `CfnComputeEnvironment.ComputeResourcesProperty.SpotIamFleetRole`. SpotIamFleetRole *string `json:"spotIamFleetRole"` // `CfnComputeEnvironment.ComputeResourcesProperty.Tags`. Tags interface{} `json:"tags"` }
type CfnComputeEnvironment_LaunchTemplateSpecificationProperty ¶
type CfnComputeEnvironment_LaunchTemplateSpecificationProperty struct { // `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateId`. LaunchTemplateId *string `json:"launchTemplateId"` // `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateName`. LaunchTemplateName *string `json:"launchTemplateName"` // `CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Version`. Version *string `json:"version"` }
type CfnJobDefinition ¶
type CfnJobDefinition interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ContainerProperties() interface{} SetContainerProperties(val interface{}) CreationStack() *[]*string JobDefinitionName() *string SetJobDefinitionName(val *string) LogicalId() *string Node() awscdk.ConstructNode NodeProperties() interface{} SetNodeProperties(val interface{}) Parameters() interface{} SetParameters(val interface{}) PlatformCapabilities() *[]*string SetPlatformCapabilities(val *[]*string) PropagateTags() interface{} SetPropagateTags(val interface{}) Ref() *string RetryStrategy() interface{} SetRetryStrategy(val interface{}) Stack() awscdk.Stack Tags() awscdk.TagManager Timeout() interface{} SetTimeout(val interface{}) Type() *string SetType(val *string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Batch::JobDefinition`.
func NewCfnJobDefinition ¶
func NewCfnJobDefinition(scope awscdk.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"` // `AWS::Batch::JobDefinition.ContainerProperties`. ContainerProperties interface{} `json:"containerProperties"` // `AWS::Batch::JobDefinition.JobDefinitionName`. JobDefinitionName *string `json:"jobDefinitionName"` // `AWS::Batch::JobDefinition.NodeProperties`. NodeProperties interface{} `json:"nodeProperties"` // `AWS::Batch::JobDefinition.Parameters`. Parameters interface{} `json:"parameters"` // `AWS::Batch::JobDefinition.PlatformCapabilities`. PlatformCapabilities *[]*string `json:"platformCapabilities"` // `AWS::Batch::JobDefinition.PropagateTags`. PropagateTags interface{} `json:"propagateTags"` // `AWS::Batch::JobDefinition.RetryStrategy`. RetryStrategy interface{} `json:"retryStrategy"` // `AWS::Batch::JobDefinition.Tags`. Tags interface{} `json:"tags"` // `AWS::Batch::JobDefinition.Timeout`. Timeout interface{} `json:"timeout"` }
Properties for defining a `AWS::Batch::JobDefinition`.
type CfnJobDefinition_ContainerPropertiesProperty ¶
type CfnJobDefinition_ContainerPropertiesProperty struct { // `CfnJobDefinition.ContainerPropertiesProperty.Image`. Image *string `json:"image"` // `CfnJobDefinition.ContainerPropertiesProperty.Command`. Command *[]*string `json:"command"` // `CfnJobDefinition.ContainerPropertiesProperty.Environment`. Environment interface{} `json:"environment"` // `CfnJobDefinition.ContainerPropertiesProperty.ExecutionRoleArn`. ExecutionRoleArn *string `json:"executionRoleArn"` // `CfnJobDefinition.ContainerPropertiesProperty.FargatePlatformConfiguration`. FargatePlatformConfiguration interface{} `json:"fargatePlatformConfiguration"` // `CfnJobDefinition.ContainerPropertiesProperty.InstanceType`. InstanceType *string `json:"instanceType"` // `CfnJobDefinition.ContainerPropertiesProperty.JobRoleArn`. JobRoleArn *string `json:"jobRoleArn"` // `CfnJobDefinition.ContainerPropertiesProperty.LinuxParameters`. LinuxParameters interface{} `json:"linuxParameters"` // `CfnJobDefinition.ContainerPropertiesProperty.LogConfiguration`. LogConfiguration interface{} `json:"logConfiguration"` // `CfnJobDefinition.ContainerPropertiesProperty.Memory`. Memory *float64 `json:"memory"` // `CfnJobDefinition.ContainerPropertiesProperty.MountPoints`. MountPoints interface{} `json:"mountPoints"` // `CfnJobDefinition.ContainerPropertiesProperty.NetworkConfiguration`. NetworkConfiguration interface{} `json:"networkConfiguration"` // `CfnJobDefinition.ContainerPropertiesProperty.Privileged`. Privileged interface{} `json:"privileged"` // `CfnJobDefinition.ContainerPropertiesProperty.ReadonlyRootFilesystem`. ReadonlyRootFilesystem interface{} `json:"readonlyRootFilesystem"` // `CfnJobDefinition.ContainerPropertiesProperty.ResourceRequirements`. ResourceRequirements interface{} `json:"resourceRequirements"` // `CfnJobDefinition.ContainerPropertiesProperty.Secrets`. Secrets interface{} `json:"secrets"` // `CfnJobDefinition.ContainerPropertiesProperty.Ulimits`. Ulimits interface{} `json:"ulimits"` // `CfnJobDefinition.ContainerPropertiesProperty.User`. User *string `json:"user"` // `CfnJobDefinition.ContainerPropertiesProperty.Vcpus`. Vcpus *float64 `json:"vcpus"` // `CfnJobDefinition.ContainerPropertiesProperty.Volumes`. Volumes interface{} `json:"volumes"` }
type CfnJobDefinition_DeviceProperty ¶
type CfnJobDefinition_DeviceProperty struct { // `CfnJobDefinition.DeviceProperty.ContainerPath`. ContainerPath *string `json:"containerPath"` // `CfnJobDefinition.DeviceProperty.HostPath`. HostPath *string `json:"hostPath"` // `CfnJobDefinition.DeviceProperty.Permissions`. Permissions *[]*string `json:"permissions"` }
type CfnJobDefinition_EfsVolumeConfigurationProperty ¶
type CfnJobDefinition_EfsVolumeConfigurationProperty struct { // `CfnJobDefinition.EfsVolumeConfigurationProperty.FileSystemId`. FileSystemId *string `json:"fileSystemId"` // `CfnJobDefinition.EfsVolumeConfigurationProperty.AuthorizationConfig`. AuthorizationConfig interface{} `json:"authorizationConfig"` // `CfnJobDefinition.EfsVolumeConfigurationProperty.RootDirectory`. RootDirectory *string `json:"rootDirectory"` // `CfnJobDefinition.EfsVolumeConfigurationProperty.TransitEncryption`. TransitEncryption *string `json:"transitEncryption"` // `CfnJobDefinition.EfsVolumeConfigurationProperty.TransitEncryptionPort`. TransitEncryptionPort *float64 `json:"transitEncryptionPort"` }
type CfnJobDefinition_EvaluateOnExitProperty ¶
type CfnJobDefinition_EvaluateOnExitProperty struct { // `CfnJobDefinition.EvaluateOnExitProperty.Action`. Action *string `json:"action"` // `CfnJobDefinition.EvaluateOnExitProperty.OnExitCode`. OnExitCode *string `json:"onExitCode"` // `CfnJobDefinition.EvaluateOnExitProperty.OnReason`. OnReason *string `json:"onReason"` // `CfnJobDefinition.EvaluateOnExitProperty.OnStatusReason`. OnStatusReason *string `json:"onStatusReason"` }
type CfnJobDefinition_FargatePlatformConfigurationProperty ¶
type CfnJobDefinition_FargatePlatformConfigurationProperty struct { // `CfnJobDefinition.FargatePlatformConfigurationProperty.PlatformVersion`. PlatformVersion *string `json:"platformVersion"` }
type CfnJobDefinition_LinuxParametersProperty ¶
type CfnJobDefinition_LinuxParametersProperty struct { // `CfnJobDefinition.LinuxParametersProperty.Devices`. Devices interface{} `json:"devices"` // `CfnJobDefinition.LinuxParametersProperty.InitProcessEnabled`. InitProcessEnabled interface{} `json:"initProcessEnabled"` // `CfnJobDefinition.LinuxParametersProperty.MaxSwap`. MaxSwap *float64 `json:"maxSwap"` SharedMemorySize *float64 `json:"sharedMemorySize"` // `CfnJobDefinition.LinuxParametersProperty.Swappiness`. Swappiness *float64 `json:"swappiness"` // `CfnJobDefinition.LinuxParametersProperty.Tmpfs`. Tmpfs interface{} `json:"tmpfs"` }
type CfnJobDefinition_LogConfigurationProperty ¶
type CfnJobDefinition_LogConfigurationProperty struct { // `CfnJobDefinition.LogConfigurationProperty.LogDriver`. LogDriver *string `json:"logDriver"` // `CfnJobDefinition.LogConfigurationProperty.Options`. Options interface{} `json:"options"` // `CfnJobDefinition.LogConfigurationProperty.SecretOptions`. SecretOptions interface{} `json:"secretOptions"` }
type CfnJobDefinition_MountPointsProperty ¶
type CfnJobDefinition_MountPointsProperty struct { // `CfnJobDefinition.MountPointsProperty.ContainerPath`. ContainerPath *string `json:"containerPath"` // `CfnJobDefinition.MountPointsProperty.ReadOnly`. ReadOnly interface{} `json:"readOnly"` // `CfnJobDefinition.MountPointsProperty.SourceVolume`. SourceVolume *string `json:"sourceVolume"` }
type CfnJobDefinition_NetworkConfigurationProperty ¶
type CfnJobDefinition_NetworkConfigurationProperty struct { // `CfnJobDefinition.NetworkConfigurationProperty.AssignPublicIp`. AssignPublicIp *string `json:"assignPublicIp"` }
type CfnJobDefinition_NodePropertiesProperty ¶
type CfnJobDefinition_NodePropertiesProperty struct { // `CfnJobDefinition.NodePropertiesProperty.MainNode`. MainNode *float64 `json:"mainNode"` // `CfnJobDefinition.NodePropertiesProperty.NodeRangeProperties`. NodeRangeProperties interface{} `json:"nodeRangeProperties"` // `CfnJobDefinition.NodePropertiesProperty.NumNodes`. NumNodes *float64 `json:"numNodes"` }
type CfnJobDefinition_NodeRangePropertyProperty ¶
type CfnJobDefinition_NodeRangePropertyProperty struct { // `CfnJobDefinition.NodeRangePropertyProperty.TargetNodes`. TargetNodes *string `json:"targetNodes"` // `CfnJobDefinition.NodeRangePropertyProperty.Container`. Container interface{} `json:"container"` }
type CfnJobDefinition_RetryStrategyProperty ¶
type CfnJobDefinition_RetryStrategyProperty struct { // `CfnJobDefinition.RetryStrategyProperty.Attempts`. Attempts *float64 `json:"attempts"` // `CfnJobDefinition.RetryStrategyProperty.EvaluateOnExit`. EvaluateOnExit interface{} `json:"evaluateOnExit"` }
type CfnJobDefinition_TimeoutProperty ¶
type CfnJobDefinition_TimeoutProperty struct { // `CfnJobDefinition.TimeoutProperty.AttemptDurationSeconds`. AttemptDurationSeconds *float64 `json:"attemptDurationSeconds"` }
type CfnJobDefinition_TmpfsProperty ¶
type CfnJobDefinition_TmpfsProperty struct { // `CfnJobDefinition.TmpfsProperty.ContainerPath`. ContainerPath *string `json:"containerPath"` // `CfnJobDefinition.TmpfsProperty.Size`. Size *float64 `json:"size"` // `CfnJobDefinition.TmpfsProperty.MountOptions`. MountOptions *[]*string `json:"mountOptions"` }
type CfnJobDefinition_VolumesHostProperty ¶
type CfnJobDefinition_VolumesHostProperty struct { // `CfnJobDefinition.VolumesHostProperty.SourcePath`. SourcePath *string `json:"sourcePath"` }
type CfnJobDefinition_VolumesProperty ¶
type CfnJobDefinition_VolumesProperty struct { // `CfnJobDefinition.VolumesProperty.EfsVolumeConfiguration`. EfsVolumeConfiguration interface{} `json:"efsVolumeConfiguration"` // `CfnJobDefinition.VolumesProperty.Host`. Host interface{} `json:"host"` // `CfnJobDefinition.VolumesProperty.Name`. Name *string `json:"name"` }
type CfnJobQueue ¶
type CfnJobQueue interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ComputeEnvironmentOrder() interface{} SetComputeEnvironmentOrder(val interface{}) CreationStack() *[]*string JobQueueName() *string SetJobQueueName(val *string) LogicalId() *string Node() awscdk.ConstructNode Priority() *float64 SetPriority(val *float64) Ref() *string Stack() awscdk.Stack State() *string SetState(val *string) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Batch::JobQueue`.
func NewCfnJobQueue ¶
func NewCfnJobQueue(scope awscdk.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"` // `AWS::Batch::JobQueue.Priority`. Priority *float64 `json:"priority"` // `AWS::Batch::JobQueue.JobQueueName`. JobQueueName *string `json:"jobQueueName"` // `AWS::Batch::JobQueue.State`. State *string `json:"state"` // `AWS::Batch::JobQueue.Tags`. Tags interface{} `json:"tags"` }
Properties for defining a `AWS::Batch::JobQueue`.
type ComputeEnvironment ¶
type ComputeEnvironment interface { awscdk.Resource IComputeEnvironment ComputeEnvironmentArn() *string ComputeEnvironmentName() *string Env() *awscdk.ResourceEnvironment Node() awscdk.ConstructNode PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string Prepare() Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string }
Batch Compute Environment.
Defines a batch compute environment to run batch jobs on. Experimental.
func NewComputeEnvironment ¶
func NewComputeEnvironment(scope constructs.Construct, id *string, props *ComputeEnvironmentProps) ComputeEnvironment
Experimental.
type ComputeEnvironmentProps ¶
type ComputeEnvironmentProps struct { // A name for the compute environment. // // Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. // Experimental. ComputeEnvironmentName *string `json:"computeEnvironmentName"` // The details of the required compute resources for the managed compute environment. // // If specified, and this is an unmanaged compute environment, will throw an error. // // By default, AWS Batch managed compute environments use a recent, approved version of the // Amazon ECS-optimized AMI for compute resources. // Experimental. ComputeResources *ComputeResources `json:"computeResources"` // The state of the compute environment. // // If the state is set to true, then the compute // environment accepts jobs from a queue and can scale out automatically based on queues. // Experimental. Enabled *bool `json:"enabled"` // Determines if AWS should manage the allocation of compute resources for processing jobs. // // If set to false, then you are in charge of providing the compute resource details. // Experimental. Managed *bool `json:"managed"` // The IAM role used by Batch to make calls to other AWS services on your behalf for managing the resources that you use with the service. // // By default, this role is created for you using // the AWS managed service policy for Batch. // Experimental. ServiceRole awsiam.IRole `json:"serviceRole"` }
Properties for creating a new Compute Environment. Experimental.
type ComputeResourceType ¶
type ComputeResourceType string
Property to specify if the compute environment uses On-Demand or SpotFleet compute resources. Experimental.
const ( ComputeResourceType_ON_DEMAND ComputeResourceType = "ON_DEMAND" ComputeResourceType_SPOT ComputeResourceType = "SPOT" )
type ComputeResources ¶
type ComputeResources struct { // The VPC network that all compute resources will be connected to. // Experimental. Vpc awsec2.IVpc `json:"vpc"` // The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. // // This could be due to availability of the instance type in // the region or Amazon EC2 service limits. If this is not specified, the default for the EC2 // ComputeResourceType is BEST_FIT, which will use only the best fitting instance type, waiting for // additional capacity if it's not available. This allocation strategy keeps costs lower but can limit // scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM Role must be specified. // BEST_FIT_PROGRESSIVE will select an additional instance type that is large enough to meet the // requirements of the jobs in the queue, with a preference for an instance type with a lower cost. // The default value for the SPOT instance type is SPOT_CAPACITY_OPTIMIZED, which is only available for // for this type of compute resources and will select an additional instance type that is large enough // to meet the requirements of the jobs in the queue, with a preference for an instance type that is // less likely to be interrupted. // Experimental. AllocationStrategy AllocationStrategy `json:"allocationStrategy"` // This property will be ignored if you set the environment type to ON_DEMAND. // // The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for // that instance type before instances are launched. For example, if your maximum percentage is 20%, // then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. You always // pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, // the default value is 100% of the On-Demand price. // Experimental. BidPercentage *float64 `json:"bidPercentage"` // Key-value pair tags to be applied to resources that are launched in the compute environment. // // For AWS Batch, these take the form of "String1": "String2", where String1 is the tag key and // String2 is the tag value—for example, { "Name": "AWS Batch Instance - C4OnDemand" }. // Experimental. ComputeResourcesTags *map[string]*string `json:"computeResourcesTags"` // The desired number of EC2 vCPUS in the compute environment. // Experimental. DesiredvCpus *float64 `json:"desiredvCpus"` // The EC2 key pair that is used for instances launched in the compute environment. // // If no key is defined, then SSH access is not allowed to provisioned compute resources. // Experimental. Ec2KeyPair *string `json:"ec2KeyPair"` // The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. // Experimental. Image awsec2.IMachineImage `json:"image"` // The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. // // You can specify // the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or // arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole . For more information, see Amazon ECS // Instance Role in the AWS Batch User Guide. // Experimental. InstanceRole *string `json:"instanceRole"` // The types of EC2 instances that may be launched in the compute environment. // // You can specify instance // families to launch any instance type within those families (for example, c4 or p3), or you can specify // specific sizes within a family (such as c4.8xlarge). You can also choose optimal to pick instance types // (from the C, M, and R instance families) on the fly that match the demand of your job queues. // Experimental. InstanceTypes *[]awsec2.InstanceType `json:"instanceTypes"` // An optional launch template to associate with your compute resources. // // For more information, see README file. // Experimental. LaunchTemplate *LaunchTemplateSpecification `json:"launchTemplate"` // The maximum number of EC2 vCPUs that an environment can reach. // // Each vCPU is equivalent to // 1,024 CPU shares. You must specify at least one vCPU. // Experimental. MaxvCpus *float64 `json:"maxvCpus"` // The minimum number of EC2 vCPUs that an environment should maintain (even if the compute environment state is DISABLED). // // Each vCPU is equivalent to 1,024 CPU shares. By keeping this set to 0 you will not have instance time wasted when // there is no work to be run. If you set this above zero you will maintain that number of vCPUs at all times. // Experimental. MinvCpus *float64 `json:"minvCpus"` // The Amazon EC2 placement group to associate with your compute resources. // Experimental. PlacementGroup *string `json:"placementGroup"` // The EC2 security group(s) associated with instances launched in the compute environment. // Experimental. SecurityGroups *[]awsec2.ISecurityGroup `json:"securityGroups"` // This property will be ignored if you set the environment type to ON_DEMAND. // // The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. // For more information, see Amazon EC2 Spot Fleet Role in the AWS Batch User Guide. // Experimental. SpotFleetRole awsiam.IRole `json:"spotFleetRole"` // The type of compute environment: ON_DEMAND or SPOT. // Experimental. Type ComputeResourceType `json:"type"` // The VPC subnets into which the compute resources are launched. // Experimental. VpcSubnets *awsec2.SubnetSelection `json:"vpcSubnets"` }
Properties for defining the structure of the batch compute cluster. Experimental.
type ExposedSecret ¶
type ExposedSecret interface { OptionName() *string SetOptionName(val *string) SecretArn() *string SetSecretArn(val *string) }
Exposed secret for log configuration. Experimental.
func ExposedSecret_FromParametersStore ¶
func ExposedSecret_FromParametersStore(optionName *string, parameter awsssm.IParameter) ExposedSecret
User Parameters Store Parameter. Experimental.
func ExposedSecret_FromSecretsManager ¶
func ExposedSecret_FromSecretsManager(optionName *string, secret awssecretsmanager.ISecret) ExposedSecret
Use Secrets Manager Secret. Experimental.
func NewExposedSecret ¶
func NewExposedSecret(optionName *string, secretArn *string) ExposedSecret
Experimental.
type IComputeEnvironment ¶
type IComputeEnvironment interface { awscdk.IResource // The ARN of this compute environment. // Experimental. ComputeEnvironmentArn() *string // The name of this compute environment. // Experimental. ComputeEnvironmentName() *string }
Properties of a compute environment. Experimental.
func ComputeEnvironment_FromComputeEnvironmentArn ¶
func ComputeEnvironment_FromComputeEnvironmentArn(scope constructs.Construct, id *string, computeEnvironmentArn *string) IComputeEnvironment
Fetches an existing batch compute environment by its amazon resource name. Experimental.
type IJobDefinition ¶
type IJobDefinition interface { awscdk.IResource // The ARN of this batch job definition. // Experimental. JobDefinitionArn() *string // The name of the batch job definition. // Experimental. JobDefinitionName() *string }
An interface representing a job definition - either a new one, created with the CDK, *using the {@link JobDefinition} class, or existing ones, referenced using the {@link JobDefinition.fromJobDefinitionArn} method. Experimental.
func JobDefinition_FromJobDefinitionArn ¶
func JobDefinition_FromJobDefinitionArn(scope constructs.Construct, id *string, jobDefinitionArn *string) IJobDefinition
Imports an existing batch job definition by its amazon resource name. Experimental.
func JobDefinition_FromJobDefinitionName ¶
func JobDefinition_FromJobDefinitionName(scope constructs.Construct, id *string, jobDefinitionName *string) IJobDefinition
Imports an existing batch job definition by its name.
If name is specified without a revision then the latest active revision is used. Experimental.
type IJobQueue ¶
type IJobQueue interface { awscdk.IResource // The ARN of this batch job queue. // Experimental. JobQueueArn() *string // A name for the job queue. // // Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. // Experimental. JobQueueName() *string }
Properties of a Job Queue. Experimental.
func JobQueue_FromJobQueueArn ¶
func JobQueue_FromJobQueueArn(scope constructs.Construct, id *string, jobQueueArn *string) IJobQueue
Fetches an existing batch job queue by its amazon resource name. Experimental.
type IMultiNodeProps ¶
type IMultiNodeProps interface { // The number of nodes associated with a multi-node parallel job. // Experimental. Count() *float64 // The number of nodes associated with a multi-node parallel job. // Experimental. SetCount(c *float64) // Specifies the node index for the main node of a multi-node parallel job. // // This node index value must be fewer than the number of nodes. // Experimental. MainNode() *float64 // Specifies the node index for the main node of a multi-node parallel job. // // This node index value must be fewer than the number of nodes. // Experimental. SetMainNode(m *float64) // A list of node ranges and their properties associated with a multi-node parallel job. // Experimental. RangeProps() *[]INodeRangeProps // A list of node ranges and their properties associated with a multi-node parallel job. // Experimental. SetRangeProps(r *[]INodeRangeProps) }
Properties for specifying multi-node properties for compute resources. Experimental.
type INodeRangeProps ¶
type INodeRangeProps interface { // The container details for the node range. // Experimental. Container() *JobDefinitionContainer // The container details for the node range. // Experimental. SetContainer(c *JobDefinitionContainer) // The minimum node index value to apply this container definition against. // // You may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties. // Experimental. FromNodeIndex() *float64 // The minimum node index value to apply this container definition against. // // You may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties. // Experimental. SetFromNodeIndex(f *float64) // The maximum node index value to apply this container definition against. If omitted, the highest value is used relative. // // to the number of nodes associated with the job. You may nest node ranges, for example 0:10 and 4:5, // in which case the 4:5 range properties override the 0:10 properties. // Experimental. ToNodeIndex() *float64 // The maximum node index value to apply this container definition against. If omitted, the highest value is used relative. // // to the number of nodes associated with the job. You may nest node ranges, for example 0:10 and 4:5, // in which case the 4:5 range properties override the 0:10 properties. // Experimental. SetToNodeIndex(t *float64) }
Properties for a multi-node batch job. Experimental.
type JobDefinition ¶
type JobDefinition interface { awscdk.Resource IJobDefinition Env() *awscdk.ResourceEnvironment JobDefinitionArn() *string JobDefinitionName() *string Node() awscdk.ConstructNode PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string Prepare() Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string }
Batch Job Definition.
Defines a batch job definition to execute a specific batch job. Experimental.
func NewJobDefinition ¶
func NewJobDefinition(scope constructs.Construct, id *string, props *JobDefinitionProps) JobDefinition
Experimental.
type JobDefinitionContainer ¶
type JobDefinitionContainer struct { // The image used to start a container. // Experimental. Image awsecs.ContainerImage `json:"image"` // The command that is passed to the container. // // If you provide a shell command as a single string, you have to quote command-line arguments. // Experimental. Command *[]*string `json:"command"` // The environment variables to pass to the container. // Experimental. Environment *map[string]*string `json:"environment"` // The number of physical GPUs to reserve for the container. // // The number of GPUs reserved for all // containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on. // Experimental. GpuCount *float64 `json:"gpuCount"` // The instance type to use for a multi-node parallel job. // // Currently all node groups in a // multi-node parallel job must use the same instance type. This parameter is not valid // for single-node container jobs. // Experimental. InstanceType awsec2.InstanceType `json:"instanceType"` // The IAM role that the container can assume for AWS permissions. // Experimental. JobRole awsiam.IRole `json:"jobRole"` // Linux-specific modifications that are applied to the container, such as details for device mappings. // // For now, only the `devices` property is supported. // Experimental. LinuxParams awsecs.LinuxParameters `json:"linuxParams"` // The log configuration specification for the container. // Experimental. LogConfiguration *LogConfiguration `json:"logConfiguration"` // The hard limit (in MiB) of memory to present to the container. // // If your container attempts to exceed // the memory specified here, the container is killed. You must specify at least 4 MiB of memory for a job. // Experimental. MemoryLimitMiB *float64 `json:"memoryLimitMiB"` // The mount points for data volumes in your container. // Experimental. MountPoints *[]*awsecs.MountPoint `json:"mountPoints"` // When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). // Experimental. Privileged *bool `json:"privileged"` // When this parameter is true, the container is given read-only access to its root file system. // Experimental. ReadOnly *bool `json:"readOnly"` // A list of ulimits to set in the container. // Experimental. Ulimits *[]*awsecs.Ulimit `json:"ulimits"` // The user name to use inside the container. // Experimental. User *string `json:"user"` // The number of vCPUs reserved for the container. // // Each vCPU is equivalent to // 1,024 CPU shares. You must specify at least one vCPU. // Experimental. Vcpus *float64 `json:"vcpus"` // A list of data volumes used in a job. // Experimental. Volumes *[]*awsecs.Volume `json:"volumes"` }
Properties of a job definition container. Experimental.
type JobDefinitionProps ¶
type JobDefinitionProps struct { // An object with various properties specific to container-based jobs. // Experimental. Container *JobDefinitionContainer `json:"container"` // The name of the job definition. // // Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. // Experimental. JobDefinitionName *string `json:"jobDefinitionName"` // An object with various properties specific to multi-node parallel jobs. // Experimental. NodeProps IMultiNodeProps `json:"nodeProps"` // When you submit a job, you can specify parameters that should replace the placeholders or override the default job definition parameters. // // Parameters // in job submission requests take precedence over the defaults in a job definition. // This allows you to use the same job definition for multiple jobs that use the same // format, and programmatically change values in the command at submission time. // Experimental. Parameters *map[string]*string `json:"parameters"` // The number of times to move a job to the RUNNABLE status. // // You may specify between 1 and // 10 attempts. If the value of attempts is greater than one, the job is retried on failure // the same number of attempts as the value. // Experimental. RetryAttempts *float64 `json:"retryAttempts"` // The timeout configuration for jobs that are submitted with this job definition. // // You can specify // a timeout duration after which AWS Batch terminates your jobs if they have not finished. // Experimental. Timeout awscdk.Duration `json:"timeout"` }
Construction properties of the {@link JobDefinition} construct. Experimental.
type JobQueue ¶
type JobQueue interface { awscdk.Resource IJobQueue Env() *awscdk.ResourceEnvironment JobQueueArn() *string JobQueueName() *string Node() awscdk.ConstructNode PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string Prepare() Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string }
Batch Job Queue.
Defines a batch job queue to define how submitted batch jobs should be ran based on specified batch compute environments. Experimental.
func NewJobQueue ¶
func NewJobQueue(scope constructs.Construct, id *string, props *JobQueueProps) JobQueue
Experimental.
type JobQueueComputeEnvironment ¶
type JobQueueComputeEnvironment struct { // The batch compute environment to use for processing submitted jobs to this queue. // Experimental. ComputeEnvironment IComputeEnvironment `json:"computeEnvironment"` // The order in which this compute environment will be selected for dynamic allocation of resources to process submitted jobs. // Experimental. Order *float64 `json:"order"` }
Properties for mapping a compute environment to a job queue. Experimental.
type JobQueueProps ¶
type JobQueueProps struct { // The set of compute environments mapped to a job queue and their order relative to each other. // // The job scheduler uses this parameter to // determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them // with a job queue. You can associate up to three compute environments with a job queue. // Experimental. ComputeEnvironments *[]*JobQueueComputeEnvironment `json:"computeEnvironments"` // The state of the job queue. // // If set to true, it is able to accept jobs. // Experimental. Enabled *bool `json:"enabled"` // A name for the job queue. // // Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. // Experimental. JobQueueName *string `json:"jobQueueName"` // The priority of the job queue. // // Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first // when associated with the same compute environment. Priority is determined in descending order, for example, a job queue with a priority value // of 10 is given scheduling preference over a job queue with a priority value of 1. // Experimental. Priority *float64 `json:"priority"` }
Properties of a batch job queue. Experimental.
type LaunchTemplateSpecification ¶
type LaunchTemplateSpecification struct { // The Launch template name. // Experimental. LaunchTemplateName *string `json:"launchTemplateName"` // The launch template version to be used (optional). // Experimental. Version *string `json:"version"` }
Launch template property specification. Experimental.
type LogConfiguration ¶
type LogConfiguration struct { // The log driver to use for the container. // Experimental. LogDriver LogDriver `json:"logDriver"` // The configuration options to send to the log driver. // Experimental. Options interface{} `json:"options"` // The secrets to pass to the log configuration as options. // // For more information, see https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data-secrets.html#secrets-logconfig // Experimental. SecretOptions *[]ExposedSecret `json:"secretOptions"` }
Log configuration options to send to a custom log driver for the container. Experimental.
type LogDriver ¶
type LogDriver string
The log driver to use for the container. Experimental.
const ( LogDriver_AWSLOGS LogDriver = "AWSLOGS" LogDriver_FLUENTD LogDriver = "FLUENTD" LogDriver_GELF LogDriver = "GELF" LogDriver_JOURNALD LogDriver = "JOURNALD" LogDriver_LOGENTRIES LogDriver = "LOGENTRIES" LogDriver_JSON_FILE LogDriver = "JSON_FILE" LogDriver_SPLUNK LogDriver = "SPLUNK" LogDriver_SYSLOG LogDriver = "SYSLOG" )