@aws-cdk/aws-batch
Advanced tools
Comparing version 0.20.0 to 0.21.0
import cdk = require('@aws-cdk/cdk'); | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html | ||
*/ | ||
export interface CfnComputeEnvironmentProps { | ||
/** | ||
* ``AWS::Batch::ComputeEnvironment.ServiceRole`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-servicerole | ||
*/ | ||
serviceRole: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::ComputeEnvironment.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-type | ||
*/ | ||
type: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::ComputeEnvironment.ComputeEnvironmentName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-computeenvironmentname | ||
*/ | ||
computeEnvironmentName?: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::ComputeEnvironment.ComputeResources`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-computeresources | ||
*/ | ||
computeResources?: CfnComputeEnvironment.ComputeResourcesProperty | cdk.Token; | ||
/** | ||
* ``AWS::Batch::ComputeEnvironment.State`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-state | ||
*/ | ||
state?: string | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html | ||
*/ | ||
export declare class CfnComputeEnvironment extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::Batch::ComputeEnvironment"; | ||
readonly computeEnvironmentArn: string; | ||
/** | ||
* Creates a new ``AWS::Batch::ComputeEnvironment``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnComputeEnvironment`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnComputeEnvironment`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnComputeEnvironmentProps); | ||
readonly propertyOverrides: CfnComputeEnvironmentProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnComputeEnvironment { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html | ||
*/ | ||
interface ComputeResourcesProperty { | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.BidPercentage`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage | ||
*/ | ||
bidPercentage?: number | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.DesiredvCpus`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-desiredvcpus | ||
*/ | ||
desiredvCpus?: number | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.Ec2KeyPair`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair | ||
*/ | ||
ec2KeyPair?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.ImageId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid | ||
*/ | ||
imageId?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.InstanceRole`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole | ||
*/ | ||
instanceRole: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.InstanceTypes`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes | ||
*/ | ||
instanceTypes: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.LaunchTemplate`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate | ||
*/ | ||
launchTemplate?: CfnComputeEnvironment.LaunchTemplateSpecificationProperty | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.MaxvCpus`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus | ||
*/ | ||
maxvCpus: number | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.MinvCpus`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus | ||
*/ | ||
minvCpus: number | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.PlacementGroup`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup | ||
*/ | ||
placementGroup?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.SecurityGroupIds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids | ||
*/ | ||
securityGroupIds: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.SpotIamFleetRole`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-spotiamfleetrole | ||
*/ | ||
spotIamFleetRole?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.Subnets`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets | ||
*/ | ||
subnets: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags | ||
*/ | ||
tags?: object | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.ComputeResourcesProperty.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type | ||
*/ | ||
type: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnComputeEnvironment { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html | ||
*/ | ||
interface LaunchTemplateSpecificationProperty { | ||
/** | ||
* ``CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-launchtemplateid | ||
*/ | ||
launchTemplateId?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.LaunchTemplateSpecificationProperty.LaunchTemplateName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-launchtemplatename | ||
*/ | ||
launchTemplateName?: string | cdk.Token; | ||
/** | ||
* ``CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Version`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-version | ||
*/ | ||
version?: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -34,2 +190,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.ComputeEnvironmentResource" will be deprecated in a future release in favor of "CfnComputeEnvironment" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html | ||
@@ -95,3 +252,3 @@ */ | ||
*/ | ||
launchTemplate?: LaunchTemplateSpecificationProperty | cdk.Token; | ||
launchTemplate?: ComputeEnvironmentResource.LaunchTemplateSpecificationProperty | cdk.Token; | ||
/** | ||
@@ -162,2 +319,289 @@ * ``ComputeEnvironmentResource.ComputeResourcesProperty.MaxvCpus`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html | ||
*/ | ||
export interface CfnJobDefinitionProps { | ||
/** | ||
* ``AWS::Batch::JobDefinition.Type`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-type | ||
*/ | ||
type: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.ContainerProperties`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-containerproperties | ||
*/ | ||
containerProperties?: CfnJobDefinition.ContainerPropertiesProperty | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.JobDefinitionName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-jobdefinitionname | ||
*/ | ||
jobDefinitionName?: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.NodeProperties`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-nodeproperties | ||
*/ | ||
nodeProperties?: CfnJobDefinition.NodePropertiesProperty | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.Parameters`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-parameters | ||
*/ | ||
parameters?: object | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.RetryStrategy`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-retrystrategy | ||
*/ | ||
retryStrategy?: CfnJobDefinition.RetryStrategyProperty | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobDefinition.Timeout`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-timeout | ||
*/ | ||
timeout?: CfnJobDefinition.TimeoutProperty | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html | ||
*/ | ||
export declare class CfnJobDefinition extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::Batch::JobDefinition"; | ||
readonly jobDefinitionArn: string; | ||
/** | ||
* Creates a new ``AWS::Batch::JobDefinition``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnJobDefinition`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnJobDefinition`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnJobDefinitionProps); | ||
readonly propertyOverrides: CfnJobDefinitionProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html | ||
*/ | ||
interface ContainerPropertiesProperty { | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Command`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-command | ||
*/ | ||
command?: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Environment`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-environment | ||
*/ | ||
environment?: Array<CfnJobDefinition.EnvironmentProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Image`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-image | ||
*/ | ||
image: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.InstanceType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-instancetype | ||
*/ | ||
instanceType?: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.JobRoleArn`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-jobrolearn | ||
*/ | ||
jobRoleArn?: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Memory`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-memory | ||
*/ | ||
memory: number | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.MountPoints`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-mountpoints | ||
*/ | ||
mountPoints?: Array<CfnJobDefinition.MountPointsProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Privileged`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-privileged | ||
*/ | ||
privileged?: boolean | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.ReadonlyRootFilesystem`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-readonlyrootfilesystem | ||
*/ | ||
readonlyRootFilesystem?: boolean | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Ulimits`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-ulimits | ||
*/ | ||
ulimits?: Array<CfnJobDefinition.UlimitProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.User`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-user | ||
*/ | ||
user?: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Vcpus`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-vcpus | ||
*/ | ||
vcpus: number | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.ContainerPropertiesProperty.Volumes`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-volumes | ||
*/ | ||
volumes?: Array<CfnJobDefinition.VolumesProperty | cdk.Token> | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html | ||
*/ | ||
interface EnvironmentProperty { | ||
/** | ||
* ``CfnJobDefinition.EnvironmentProperty.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html#cfn-batch-jobdefinition-environment-name | ||
*/ | ||
name?: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.EnvironmentProperty.Value`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html#cfn-batch-jobdefinition-environment-value | ||
*/ | ||
value?: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html | ||
*/ | ||
interface MountPointsProperty { | ||
/** | ||
* ``CfnJobDefinition.MountPointsProperty.ContainerPath`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-containerpath | ||
*/ | ||
containerPath?: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.MountPointsProperty.ReadOnly`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-readonly | ||
*/ | ||
readOnly?: boolean | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.MountPointsProperty.SourceVolume`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-sourcevolume | ||
*/ | ||
sourceVolume?: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html | ||
*/ | ||
interface NodePropertiesProperty { | ||
/** | ||
* ``CfnJobDefinition.NodePropertiesProperty.MainNode`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode | ||
*/ | ||
mainNode: number | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.NodePropertiesProperty.NodeRangeProperties`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-noderangeproperties | ||
*/ | ||
nodeRangeProperties: Array<CfnJobDefinition.NodeRangePropertyProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.NodePropertiesProperty.NumNodes`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-numnodes | ||
*/ | ||
numNodes: number | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html | ||
*/ | ||
interface NodeRangePropertyProperty { | ||
/** | ||
* ``CfnJobDefinition.NodeRangePropertyProperty.Container`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-container | ||
*/ | ||
container?: CfnJobDefinition.ContainerPropertiesProperty | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.NodeRangePropertyProperty.TargetNodes`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-targetnodes | ||
*/ | ||
targetNodes: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-retrystrategy.html | ||
*/ | ||
interface RetryStrategyProperty { | ||
/** | ||
* ``CfnJobDefinition.RetryStrategyProperty.Attempts`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-retrystrategy.html#cfn-batch-jobdefinition-retrystrategy-attempts | ||
*/ | ||
attempts?: number | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html | ||
*/ | ||
interface TimeoutProperty { | ||
/** | ||
* ``CfnJobDefinition.TimeoutProperty.AttemptDurationSeconds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html#cfn-batch-jobdefinition-timeout-attemptdurationseconds | ||
*/ | ||
attemptDurationSeconds?: number | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html | ||
*/ | ||
interface UlimitProperty { | ||
/** | ||
* ``CfnJobDefinition.UlimitProperty.HardLimit`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-hardlimit | ||
*/ | ||
hardLimit: number | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.UlimitProperty.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-name | ||
*/ | ||
name: string | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.UlimitProperty.SoftLimit`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-softlimit | ||
*/ | ||
softLimit: number | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html | ||
*/ | ||
interface VolumesProperty { | ||
/** | ||
* ``CfnJobDefinition.VolumesProperty.Host`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-host | ||
*/ | ||
host?: CfnJobDefinition.VolumesHostProperty | cdk.Token; | ||
/** | ||
* ``CfnJobDefinition.VolumesProperty.Name`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-name | ||
*/ | ||
name?: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace CfnJobDefinition { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html | ||
*/ | ||
interface VolumesHostProperty { | ||
/** | ||
* ``CfnJobDefinition.VolumesHostProperty.SourcePath`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html#cfn-batch-jobdefinition-volumeshost-sourcepath | ||
*/ | ||
sourcePath?: string | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -205,2 +649,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.JobDefinitionResource" will be deprecated in a future release in favor of "CfnJobDefinition" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html | ||
@@ -241,3 +686,3 @@ */ | ||
*/ | ||
environment?: Array<EnvironmentProperty | cdk.Token> | cdk.Token; | ||
environment?: Array<JobDefinitionResource.EnvironmentProperty | cdk.Token> | cdk.Token; | ||
/** | ||
@@ -267,3 +712,3 @@ * ``JobDefinitionResource.ContainerPropertiesProperty.Image`` | ||
*/ | ||
mountPoints?: Array<MountPointsProperty | cdk.Token> | cdk.Token; | ||
mountPoints?: Array<JobDefinitionResource.MountPointsProperty | cdk.Token> | cdk.Token; | ||
/** | ||
@@ -283,3 +728,3 @@ * ``JobDefinitionResource.ContainerPropertiesProperty.Privileged`` | ||
*/ | ||
ulimits?: Array<UlimitProperty | cdk.Token> | cdk.Token; | ||
ulimits?: Array<JobDefinitionResource.UlimitProperty | cdk.Token> | cdk.Token; | ||
/** | ||
@@ -299,3 +744,3 @@ * ``JobDefinitionResource.ContainerPropertiesProperty.User`` | ||
*/ | ||
volumes?: Array<VolumesProperty | cdk.Token> | cdk.Token; | ||
volumes?: Array<JobDefinitionResource.VolumesProperty | cdk.Token> | cdk.Token; | ||
} | ||
@@ -356,3 +801,3 @@ } | ||
*/ | ||
nodeRangeProperties: Array<NodeRangePropertyProperty | cdk.Token> | cdk.Token; | ||
nodeRangeProperties: Array<JobDefinitionResource.NodeRangePropertyProperty | cdk.Token> | cdk.Token; | ||
/** | ||
@@ -374,3 +819,3 @@ * ``JobDefinitionResource.NodePropertiesProperty.NumNodes`` | ||
*/ | ||
container?: ContainerPropertiesProperty | cdk.Token; | ||
container?: JobDefinitionResource.ContainerPropertiesProperty | cdk.Token; | ||
/** | ||
@@ -438,3 +883,3 @@ * ``JobDefinitionResource.NodeRangePropertyProperty.TargetNodes`` | ||
*/ | ||
host?: VolumesHostProperty | cdk.Token; | ||
host?: JobDefinitionResource.VolumesHostProperty | cdk.Token; | ||
/** | ||
@@ -460,2 +905,66 @@ * ``JobDefinitionResource.VolumesProperty.Name`` | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html | ||
*/ | ||
export interface CfnJobQueueProps { | ||
/** | ||
* ``AWS::Batch::JobQueue.ComputeEnvironmentOrder`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-computeenvironmentorder | ||
*/ | ||
computeEnvironmentOrder: Array<CfnJobQueue.ComputeEnvironmentOrderProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobQueue.Priority`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-priority | ||
*/ | ||
priority: number | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobQueue.JobQueueName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-jobqueuename | ||
*/ | ||
jobQueueName?: string | cdk.Token; | ||
/** | ||
* ``AWS::Batch::JobQueue.State`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-state | ||
*/ | ||
state?: string | cdk.Token; | ||
} | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html | ||
*/ | ||
export declare class CfnJobQueue extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::Batch::JobQueue"; | ||
readonly jobQueueArn: string; | ||
/** | ||
* Creates a new ``AWS::Batch::JobQueue``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnJobQueue`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnJobQueue`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnJobQueueProps); | ||
readonly propertyOverrides: CfnJobQueueProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
export declare namespace CfnJobQueue { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html | ||
*/ | ||
interface ComputeEnvironmentOrderProperty { | ||
/** | ||
* ``CfnJobQueue.ComputeEnvironmentOrderProperty.ComputeEnvironment`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-computeenvironment | ||
*/ | ||
computeEnvironment: string | cdk.Token; | ||
/** | ||
* ``CfnJobQueue.ComputeEnvironmentOrderProperty.Order`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-order | ||
*/ | ||
order: number | cdk.Token; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
@@ -488,2 +997,3 @@ /** | ||
/** | ||
* @deprecated "cloudformation.JobQueueResource" will be deprecated in a future release in favor of "CfnJobQueue" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html | ||
@@ -490,0 +1000,0 @@ */ |
{ | ||
"name": "@aws-cdk/aws-batch", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "The CDK Construct Library for AWS::Batch", | ||
@@ -55,14 +55,17 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.20.0", | ||
"cdk-build-tools": "^0.20.0", | ||
"cfn2ts": "^0.20.0", | ||
"pkglint": "^0.20.0" | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cfn2ts": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.20.0" | ||
"@aws-cdk/cdk": "^0.21.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.20.0" | ||
"@aws-cdk/cdk": "^0.21.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8.10.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
526063
2510
+ Added@aws-cdk/cdk@0.21.0(transitive)
+ Added@aws-cdk/cx-api@0.21.0(transitive)
- Removed@aws-cdk/cdk@0.20.0(transitive)
- Removed@aws-cdk/cx-api@0.20.0(transitive)
Updated@aws-cdk/cdk@^0.21.0