cdk-docker-image-deployment 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +13 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +339 -339
- package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +139 -127
- package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +40 -12
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +311 -303
- package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +4 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +626 -534
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.paginators.json +24 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +297 -297
- package/node_modules/aws-sdk/clients/codedeploy.d.ts +90 -85
- package/node_modules/aws-sdk/clients/devopsguru.d.ts +27 -11
- package/node_modules/aws-sdk/clients/dlm.d.ts +40 -8
- package/node_modules/aws-sdk/clients/ec2.d.ts +14 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +145 -0
- package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +6 -1
- package/node_modules/aws-sdk/clients/snowball.d.ts +13 -13
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk.js +321 -307
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +77 -77
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -5
|
@@ -45,19 +45,19 @@ declare class CodeDeploy extends Service {
|
|
|
45
45
|
*/
|
|
46
46
|
batchGetDeploymentGroups(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentGroupsOutput) => void): Request<CodeDeploy.Types.BatchGetDeploymentGroupsOutput, AWSError>;
|
|
47
47
|
/**
|
|
48
|
-
* This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and
|
|
48
|
+
* This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms. The maximum number of instances that can be returned is 25.
|
|
49
49
|
*/
|
|
50
50
|
batchGetDeploymentInstances(params: CodeDeploy.Types.BatchGetDeploymentInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentInstancesOutput) => void): Request<CodeDeploy.Types.BatchGetDeploymentInstancesOutput, AWSError>;
|
|
51
51
|
/**
|
|
52
|
-
* This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and
|
|
52
|
+
* This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms. The maximum number of instances that can be returned is 25.
|
|
53
53
|
*/
|
|
54
54
|
batchGetDeploymentInstances(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentInstancesOutput) => void): Request<CodeDeploy.Types.BatchGetDeploymentInstancesOutput, AWSError>;
|
|
55
55
|
/**
|
|
56
|
-
* Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method: EC2/On-premises: Information about EC2 instance targets.
|
|
56
|
+
* Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method: EC2/On-premises: Information about Amazon EC2 instance targets. Lambda: Information about Lambda functions targets. Amazon ECS: Information about Amazon ECS service targets. CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
|
|
57
57
|
*/
|
|
58
58
|
batchGetDeploymentTargets(params: CodeDeploy.Types.BatchGetDeploymentTargetsInput, callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentTargetsOutput) => void): Request<CodeDeploy.Types.BatchGetDeploymentTargetsOutput, AWSError>;
|
|
59
59
|
/**
|
|
60
|
-
* Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method: EC2/On-premises: Information about EC2 instance targets.
|
|
60
|
+
* Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method: EC2/On-premises: Information about Amazon EC2 instance targets. Lambda: Information about Lambda functions targets. Amazon ECS: Information about Amazon ECS service targets. CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
|
|
61
61
|
*/
|
|
62
62
|
batchGetDeploymentTargets(callback?: (err: AWSError, data: CodeDeploy.Types.BatchGetDeploymentTargetsOutput) => void): Request<CodeDeploy.Types.BatchGetDeploymentTargetsOutput, AWSError>;
|
|
63
63
|
/**
|
|
@@ -237,35 +237,35 @@ declare class CodeDeploy extends Service {
|
|
|
237
237
|
*/
|
|
238
238
|
listApplicationRevisions(callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationRevisionsOutput) => void): Request<CodeDeploy.Types.ListApplicationRevisionsOutput, AWSError>;
|
|
239
239
|
/**
|
|
240
|
-
* Lists the applications registered with the IAM user or
|
|
240
|
+
* Lists the applications registered with the IAM user or Amazon Web Services account.
|
|
241
241
|
*/
|
|
242
242
|
listApplications(params: CodeDeploy.Types.ListApplicationsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationsOutput) => void): Request<CodeDeploy.Types.ListApplicationsOutput, AWSError>;
|
|
243
243
|
/**
|
|
244
|
-
* Lists the applications registered with the IAM user or
|
|
244
|
+
* Lists the applications registered with the IAM user or Amazon Web Services account.
|
|
245
245
|
*/
|
|
246
246
|
listApplications(callback?: (err: AWSError, data: CodeDeploy.Types.ListApplicationsOutput) => void): Request<CodeDeploy.Types.ListApplicationsOutput, AWSError>;
|
|
247
247
|
/**
|
|
248
|
-
* Lists the deployment configurations with the IAM user or
|
|
248
|
+
* Lists the deployment configurations with the IAM user or Amazon Web Services account.
|
|
249
249
|
*/
|
|
250
250
|
listDeploymentConfigs(params: CodeDeploy.Types.ListDeploymentConfigsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentConfigsOutput) => void): Request<CodeDeploy.Types.ListDeploymentConfigsOutput, AWSError>;
|
|
251
251
|
/**
|
|
252
|
-
* Lists the deployment configurations with the IAM user or
|
|
252
|
+
* Lists the deployment configurations with the IAM user or Amazon Web Services account.
|
|
253
253
|
*/
|
|
254
254
|
listDeploymentConfigs(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentConfigsOutput) => void): Request<CodeDeploy.Types.ListDeploymentConfigsOutput, AWSError>;
|
|
255
255
|
/**
|
|
256
|
-
* Lists the deployment groups for an application registered with the IAM user or
|
|
256
|
+
* Lists the deployment groups for an application registered with the IAM user or Amazon Web Services account.
|
|
257
257
|
*/
|
|
258
258
|
listDeploymentGroups(params: CodeDeploy.Types.ListDeploymentGroupsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentGroupsOutput) => void): Request<CodeDeploy.Types.ListDeploymentGroupsOutput, AWSError>;
|
|
259
259
|
/**
|
|
260
|
-
* Lists the deployment groups for an application registered with the IAM user or
|
|
260
|
+
* Lists the deployment groups for an application registered with the IAM user or Amazon Web Services account.
|
|
261
261
|
*/
|
|
262
262
|
listDeploymentGroups(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentGroupsOutput) => void): Request<CodeDeploy.Types.ListDeploymentGroupsOutput, AWSError>;
|
|
263
263
|
/**
|
|
264
|
-
* The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or
|
|
264
|
+
* The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or Lambda. Lists the instance for a deployment associated with the IAM user or Amazon Web Services account.
|
|
265
265
|
*/
|
|
266
266
|
listDeploymentInstances(params: CodeDeploy.Types.ListDeploymentInstancesInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentInstancesOutput) => void): Request<CodeDeploy.Types.ListDeploymentInstancesOutput, AWSError>;
|
|
267
267
|
/**
|
|
268
|
-
* The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or
|
|
268
|
+
* The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or Lambda. Lists the instance for a deployment associated with the IAM user or Amazon Web Services account.
|
|
269
269
|
*/
|
|
270
270
|
listDeploymentInstances(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentInstancesOutput) => void): Request<CodeDeploy.Types.ListDeploymentInstancesOutput, AWSError>;
|
|
271
271
|
/**
|
|
@@ -277,11 +277,11 @@ declare class CodeDeploy extends Service {
|
|
|
277
277
|
*/
|
|
278
278
|
listDeploymentTargets(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentTargetsOutput) => void): Request<CodeDeploy.Types.ListDeploymentTargetsOutput, AWSError>;
|
|
279
279
|
/**
|
|
280
|
-
* Lists the deployments in a deployment group for an application registered with the IAM user or
|
|
280
|
+
* Lists the deployments in a deployment group for an application registered with the IAM user or Amazon Web Services account.
|
|
281
281
|
*/
|
|
282
282
|
listDeployments(params: CodeDeploy.Types.ListDeploymentsInput, callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentsOutput) => void): Request<CodeDeploy.Types.ListDeploymentsOutput, AWSError>;
|
|
283
283
|
/**
|
|
284
|
-
* Lists the deployments in a deployment group for an application registered with the IAM user or
|
|
284
|
+
* Lists the deployments in a deployment group for an application registered with the IAM user or Amazon Web Services account.
|
|
285
285
|
*/
|
|
286
286
|
listDeployments(callback?: (err: AWSError, data: CodeDeploy.Types.ListDeploymentsOutput) => void): Request<CodeDeploy.Types.ListDeploymentsOutput, AWSError>;
|
|
287
287
|
/**
|
|
@@ -309,19 +309,19 @@ declare class CodeDeploy extends Service {
|
|
|
309
309
|
*/
|
|
310
310
|
listTagsForResource(callback?: (err: AWSError, data: CodeDeploy.Types.ListTagsForResourceOutput) => void): Request<CodeDeploy.Types.ListTagsForResourceOutput, AWSError>;
|
|
311
311
|
/**
|
|
312
|
-
* Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the
|
|
312
|
+
* Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
|
|
313
313
|
*/
|
|
314
314
|
putLifecycleEventHookExecutionStatus(params: CodeDeploy.Types.PutLifecycleEventHookExecutionStatusInput, callback?: (err: AWSError, data: CodeDeploy.Types.PutLifecycleEventHookExecutionStatusOutput) => void): Request<CodeDeploy.Types.PutLifecycleEventHookExecutionStatusOutput, AWSError>;
|
|
315
315
|
/**
|
|
316
|
-
* Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the
|
|
316
|
+
* Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.
|
|
317
317
|
*/
|
|
318
318
|
putLifecycleEventHookExecutionStatus(callback?: (err: AWSError, data: CodeDeploy.Types.PutLifecycleEventHookExecutionStatusOutput) => void): Request<CodeDeploy.Types.PutLifecycleEventHookExecutionStatusOutput, AWSError>;
|
|
319
319
|
/**
|
|
320
|
-
* Registers with
|
|
320
|
+
* Registers with CodeDeploy a revision for the specified application.
|
|
321
321
|
*/
|
|
322
322
|
registerApplicationRevision(params: CodeDeploy.Types.RegisterApplicationRevisionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
323
323
|
/**
|
|
324
|
-
* Registers with
|
|
324
|
+
* Registers with CodeDeploy a revision for the specified application.
|
|
325
325
|
*/
|
|
326
326
|
registerApplicationRevision(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
327
327
|
/**
|
|
@@ -425,7 +425,7 @@ declare namespace CodeDeploy {
|
|
|
425
425
|
*/
|
|
426
426
|
ignorePollAlarmFailure?: Boolean;
|
|
427
427
|
/**
|
|
428
|
-
* A list of alarms configured for the deployment group. A maximum of 10 alarms can be added
|
|
428
|
+
* A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
|
|
429
429
|
*/
|
|
430
430
|
alarms?: AlarmList;
|
|
431
431
|
}
|
|
@@ -433,7 +433,7 @@ declare namespace CodeDeploy {
|
|
|
433
433
|
export type AlarmName = string;
|
|
434
434
|
export interface AppSpecContent {
|
|
435
435
|
/**
|
|
436
|
-
* The YAML-formatted or JSON-formatted revision string. For an
|
|
436
|
+
* The YAML-formatted or JSON-formatted revision string. For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more. For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.
|
|
437
437
|
*/
|
|
438
438
|
content?: RawStringContent;
|
|
439
439
|
/**
|
|
@@ -501,7 +501,7 @@ declare namespace CodeDeploy {
|
|
|
501
501
|
export type AutoScalingGroupNameList = AutoScalingGroupName[];
|
|
502
502
|
export interface BatchGetApplicationRevisionsInput {
|
|
503
503
|
/**
|
|
504
|
-
* The name of an
|
|
504
|
+
* The name of an CodeDeploy application about which to get revision information.
|
|
505
505
|
*/
|
|
506
506
|
applicationName: ApplicationName;
|
|
507
507
|
/**
|
|
@@ -537,7 +537,7 @@ declare namespace CodeDeploy {
|
|
|
537
537
|
}
|
|
538
538
|
export interface BatchGetDeploymentGroupsInput {
|
|
539
539
|
/**
|
|
540
|
-
* The name of an
|
|
540
|
+
* The name of an CodeDeploy application associated with the applicable IAM or Amazon Web Services account.
|
|
541
541
|
*/
|
|
542
542
|
applicationName: ApplicationName;
|
|
543
543
|
/**
|
|
@@ -581,13 +581,13 @@ declare namespace CodeDeploy {
|
|
|
581
581
|
*/
|
|
582
582
|
deploymentId?: DeploymentId;
|
|
583
583
|
/**
|
|
584
|
-
* The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25. For deployments that use the EC2/On-premises compute platform, the target IDs are EC2 or on-premises instances IDs, and their target type is instanceTarget. For deployments that use the
|
|
584
|
+
* The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25. For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is instanceTarget. For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is instanceTarget. For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format <clustername>:<servicename>. Their target type is ecsTarget. For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is cloudFormationTarget.
|
|
585
585
|
*/
|
|
586
586
|
targetIds?: TargetIdList;
|
|
587
587
|
}
|
|
588
588
|
export interface BatchGetDeploymentTargetsOutput {
|
|
589
589
|
/**
|
|
590
|
-
* A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform. EC2/On-premises: Each target object is an EC2 or on-premises instance.
|
|
590
|
+
* A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform. EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance. Lambda: The target object is a specific version of an Lambda function. Amazon ECS: The target object is an Amazon ECS service. CloudFormation: The target object is an CloudFormation blue/green deployment.
|
|
591
591
|
*/
|
|
592
592
|
deploymentTargets?: DeploymentTargetList;
|
|
593
593
|
}
|
|
@@ -644,7 +644,7 @@ declare namespace CodeDeploy {
|
|
|
644
644
|
export type CloudFormationResourceType = string;
|
|
645
645
|
export interface CloudFormationTarget {
|
|
646
646
|
/**
|
|
647
|
-
* The unique ID of an
|
|
647
|
+
* The unique ID of an CloudFormation blue/green deployment.
|
|
648
648
|
*/
|
|
649
649
|
deploymentId?: DeploymentId;
|
|
650
650
|
/**
|
|
@@ -652,23 +652,23 @@ declare namespace CodeDeploy {
|
|
|
652
652
|
*/
|
|
653
653
|
targetId?: TargetId;
|
|
654
654
|
/**
|
|
655
|
-
* The date and time when the target application was updated by an
|
|
655
|
+
* The date and time when the target application was updated by an CloudFormation blue/green deployment.
|
|
656
656
|
*/
|
|
657
657
|
lastUpdatedAt?: Time;
|
|
658
658
|
/**
|
|
659
|
-
* The lifecycle events of the
|
|
659
|
+
* The lifecycle events of the CloudFormation blue/green deployment to this target application.
|
|
660
660
|
*/
|
|
661
661
|
lifecycleEvents?: LifecycleEventList;
|
|
662
662
|
/**
|
|
663
|
-
* The status of an
|
|
663
|
+
* The status of an CloudFormation blue/green deployment's target application.
|
|
664
664
|
*/
|
|
665
665
|
status?: TargetStatus;
|
|
666
666
|
/**
|
|
667
|
-
* The resource type for the
|
|
667
|
+
* The resource type for the CloudFormation blue/green deployment.
|
|
668
668
|
*/
|
|
669
669
|
resourceType?: CloudFormationResourceType;
|
|
670
670
|
/**
|
|
671
|
-
* The percentage of production traffic that the target version of an
|
|
671
|
+
* The percentage of production traffic that the target version of an CloudFormation blue/green deployment receives.
|
|
672
672
|
*/
|
|
673
673
|
targetVersionWeight?: TrafficWeight;
|
|
674
674
|
}
|
|
@@ -686,7 +686,7 @@ declare namespace CodeDeploy {
|
|
|
686
686
|
}
|
|
687
687
|
export interface CreateApplicationInput {
|
|
688
688
|
/**
|
|
689
|
-
* The name of the application. This name must be unique with the applicable IAM
|
|
689
|
+
* The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.
|
|
690
690
|
*/
|
|
691
691
|
applicationName: ApplicationName;
|
|
692
692
|
/**
|
|
@@ -710,7 +710,7 @@ declare namespace CodeDeploy {
|
|
|
710
710
|
*/
|
|
711
711
|
deploymentConfigName: DeploymentConfigName;
|
|
712
712
|
/**
|
|
713
|
-
* The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value. The type parameter takes either of the following values: HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value. FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment,
|
|
713
|
+
* The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value. The type parameter takes either of the following values: HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value. FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances. The value parameter takes an integer. For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.
|
|
714
714
|
*/
|
|
715
715
|
minimumHealthyHosts?: MinimumHealthyHosts;
|
|
716
716
|
/**
|
|
@@ -730,7 +730,7 @@ declare namespace CodeDeploy {
|
|
|
730
730
|
}
|
|
731
731
|
export interface CreateDeploymentGroupInput {
|
|
732
732
|
/**
|
|
733
|
-
* The name of an
|
|
733
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
734
734
|
*/
|
|
735
735
|
applicationName: ApplicationName;
|
|
736
736
|
/**
|
|
@@ -738,11 +738,11 @@ declare namespace CodeDeploy {
|
|
|
738
738
|
*/
|
|
739
739
|
deploymentGroupName: DeploymentGroupName;
|
|
740
740
|
/**
|
|
741
|
-
* If specified, the deployment configuration name can be either one of the predefined configurations provided with
|
|
741
|
+
* If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation. CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group. For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
|
|
742
742
|
*/
|
|
743
743
|
deploymentConfigName?: DeploymentConfigName;
|
|
744
744
|
/**
|
|
745
|
-
* The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
|
|
745
|
+
* The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
|
|
746
746
|
*/
|
|
747
747
|
ec2TagFilters?: EC2TagFilterList;
|
|
748
748
|
/**
|
|
@@ -754,11 +754,11 @@ declare namespace CodeDeploy {
|
|
|
754
754
|
*/
|
|
755
755
|
autoScalingGroups?: AutoScalingGroupNameList;
|
|
756
756
|
/**
|
|
757
|
-
* A service role Amazon Resource Name (ARN) that allows
|
|
757
|
+
* A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
|
|
758
758
|
*/
|
|
759
759
|
serviceRoleArn: Role;
|
|
760
760
|
/**
|
|
761
|
-
* Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an
|
|
761
|
+
* Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
|
|
762
762
|
*/
|
|
763
763
|
triggerConfigurations?: TriggerConfigList;
|
|
764
764
|
/**
|
|
@@ -770,7 +770,7 @@ declare namespace CodeDeploy {
|
|
|
770
770
|
*/
|
|
771
771
|
autoRollbackConfiguration?: AutoRollbackConfiguration;
|
|
772
772
|
/**
|
|
773
|
-
* Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.
|
|
773
|
+
* Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
|
|
774
774
|
*/
|
|
775
775
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy;
|
|
776
776
|
/**
|
|
@@ -786,7 +786,7 @@ declare namespace CodeDeploy {
|
|
|
786
786
|
*/
|
|
787
787
|
loadBalancerInfo?: LoadBalancerInfo;
|
|
788
788
|
/**
|
|
789
|
-
* Information about groups of tags applied to EC2 instances. The deployment group includes only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
|
|
789
|
+
* Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
|
|
790
790
|
*/
|
|
791
791
|
ec2TagSet?: EC2TagSet;
|
|
792
792
|
/**
|
|
@@ -810,7 +810,7 @@ declare namespace CodeDeploy {
|
|
|
810
810
|
}
|
|
811
811
|
export interface CreateDeploymentInput {
|
|
812
812
|
/**
|
|
813
|
-
* The name of an
|
|
813
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
814
814
|
*/
|
|
815
815
|
applicationName: ApplicationName;
|
|
816
816
|
/**
|
|
@@ -822,7 +822,7 @@ declare namespace CodeDeploy {
|
|
|
822
822
|
*/
|
|
823
823
|
revision?: RevisionLocation;
|
|
824
824
|
/**
|
|
825
|
-
* The name of a deployment configuration associated with the IAM user or
|
|
825
|
+
* The name of a deployment configuration associated with the IAM user or Amazon Web Services account. If not specified, the value configured in the deployment group is used as the default. If the deployment group does not have a deployment configuration associated with it, CodeDeployDefault.OneAtATime is used by default.
|
|
826
826
|
*/
|
|
827
827
|
deploymentConfigName?: DeploymentConfigName;
|
|
828
828
|
/**
|
|
@@ -830,7 +830,7 @@ declare namespace CodeDeploy {
|
|
|
830
830
|
*/
|
|
831
831
|
description?: Description;
|
|
832
832
|
/**
|
|
833
|
-
* If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop. If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted. During a deployment, the
|
|
833
|
+
* If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop. If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted. During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail. If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures should be ignored.
|
|
834
834
|
*/
|
|
835
835
|
ignoreApplicationStopFailures?: Boolean;
|
|
836
836
|
/**
|
|
@@ -846,9 +846,13 @@ declare namespace CodeDeploy {
|
|
|
846
846
|
*/
|
|
847
847
|
updateOutdatedInstancesOnly?: Boolean;
|
|
848
848
|
/**
|
|
849
|
-
* Information about how
|
|
849
|
+
* Information about how CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment. The fileExistsBehavior parameter takes any of the following values: DISALLOW: The deployment fails. This is also the default behavior if no option is specified. OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance. RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
|
|
850
850
|
*/
|
|
851
851
|
fileExistsBehavior?: FileExistsBehavior;
|
|
852
|
+
/**
|
|
853
|
+
* Allows you to specify information about alarms associated with a deployment. The alarm configuration that you specify here will override the alarm configuration at the deployment group level. Consider overriding the alarm configuration if you have set up alarms at the deployment group level that are causing deployment failures. In this case, you would call CreateDeployment to create a new deployment that uses a previous application revision that is known to work, and set its alarm configuration to turn off alarm polling. Turning off alarm polling ensures that the new deployment proceeds without being blocked by the alarm that was generated by the previous, failed, deployment. If you specify an overrideAlarmConfiguration, you need the UpdateDeploymentGroup IAM permission when calling CreateDeployment.
|
|
854
|
+
*/
|
|
855
|
+
overrideAlarmConfiguration?: AlarmConfiguration;
|
|
852
856
|
}
|
|
853
857
|
export interface CreateDeploymentOutput {
|
|
854
858
|
/**
|
|
@@ -858,19 +862,19 @@ declare namespace CodeDeploy {
|
|
|
858
862
|
}
|
|
859
863
|
export interface DeleteApplicationInput {
|
|
860
864
|
/**
|
|
861
|
-
* The name of an
|
|
865
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
862
866
|
*/
|
|
863
867
|
applicationName: ApplicationName;
|
|
864
868
|
}
|
|
865
869
|
export interface DeleteDeploymentConfigInput {
|
|
866
870
|
/**
|
|
867
|
-
* The name of a deployment configuration associated with the IAM user or
|
|
871
|
+
* The name of a deployment configuration associated with the IAM user or Amazon Web Services account.
|
|
868
872
|
*/
|
|
869
873
|
deploymentConfigName: DeploymentConfigName;
|
|
870
874
|
}
|
|
871
875
|
export interface DeleteDeploymentGroupInput {
|
|
872
876
|
/**
|
|
873
|
-
* The name of an
|
|
877
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
874
878
|
*/
|
|
875
879
|
applicationName: ApplicationName;
|
|
876
880
|
/**
|
|
@@ -880,7 +884,7 @@ declare namespace CodeDeploy {
|
|
|
880
884
|
}
|
|
881
885
|
export interface DeleteDeploymentGroupOutput {
|
|
882
886
|
/**
|
|
883
|
-
* If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group,
|
|
887
|
+
* If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.
|
|
884
888
|
*/
|
|
885
889
|
hooksNotCleanedUp?: AutoScalingGroupList;
|
|
886
890
|
}
|
|
@@ -927,7 +931,7 @@ declare namespace CodeDeploy {
|
|
|
927
931
|
*/
|
|
928
932
|
computePlatform?: ComputePlatform;
|
|
929
933
|
/**
|
|
930
|
-
* The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or ECS compute platform only.
|
|
934
|
+
* The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
|
|
931
935
|
*/
|
|
932
936
|
trafficRoutingConfig?: TrafficRoutingConfig;
|
|
933
937
|
}
|
|
@@ -965,7 +969,7 @@ declare namespace CodeDeploy {
|
|
|
965
969
|
*/
|
|
966
970
|
autoScalingGroups?: AutoScalingGroupList;
|
|
967
971
|
/**
|
|
968
|
-
* A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to
|
|
972
|
+
* A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.
|
|
969
973
|
*/
|
|
970
974
|
serviceRoleArn?: Role;
|
|
971
975
|
/**
|
|
@@ -989,7 +993,7 @@ declare namespace CodeDeploy {
|
|
|
989
993
|
*/
|
|
990
994
|
deploymentStyle?: DeploymentStyle;
|
|
991
995
|
/**
|
|
992
|
-
* Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.
|
|
996
|
+
* Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
|
|
993
997
|
*/
|
|
994
998
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy;
|
|
995
999
|
/**
|
|
@@ -1009,7 +1013,7 @@ declare namespace CodeDeploy {
|
|
|
1009
1013
|
*/
|
|
1010
1014
|
lastAttemptedDeployment?: LastDeploymentInfo;
|
|
1011
1015
|
/**
|
|
1012
|
-
* Information about groups of tags applied to an EC2 instance. The deployment group includes only EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
|
|
1016
|
+
* Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
|
|
1013
1017
|
*/
|
|
1014
1018
|
ec2TagSet?: EC2TagSet;
|
|
1015
1019
|
/**
|
|
@@ -1083,11 +1087,11 @@ declare namespace CodeDeploy {
|
|
|
1083
1087
|
*/
|
|
1084
1088
|
description?: Description;
|
|
1085
1089
|
/**
|
|
1086
|
-
* The means by which the deployment was created: user: A user created the deployment. autoscaling: Amazon EC2 Auto Scaling created the deployment. codeDeployRollback: A rollback process created the deployment. CodeDeployAutoUpdate: An auto-update process created the deployment when it detected outdated EC2 instances.
|
|
1090
|
+
* The means by which the deployment was created: user: A user created the deployment. autoscaling: Amazon EC2 Auto Scaling created the deployment. codeDeployRollback: A rollback process created the deployment. CodeDeployAutoUpdate: An auto-update process created the deployment when it detected outdated Amazon EC2 instances.
|
|
1087
1091
|
*/
|
|
1088
1092
|
creator?: DeploymentCreator;
|
|
1089
1093
|
/**
|
|
1090
|
-
* If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop. If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted. During a deployment, the
|
|
1094
|
+
* If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop. If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted. During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail. If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures should be ignored.
|
|
1091
1095
|
*/
|
|
1092
1096
|
ignoreApplicationStopFailures?: Boolean;
|
|
1093
1097
|
/**
|
|
@@ -1127,7 +1131,7 @@ declare namespace CodeDeploy {
|
|
|
1127
1131
|
*/
|
|
1128
1132
|
additionalDeploymentStatusInfo?: AdditionalDeploymentStatusInfo;
|
|
1129
1133
|
/**
|
|
1130
|
-
* Information about how
|
|
1134
|
+
* Information about how CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment. DISALLOW: The deployment fails. This is also the default behavior if no option is specified. OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance. RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
|
|
1131
1135
|
*/
|
|
1132
1136
|
fileExistsBehavior?: FileExistsBehavior;
|
|
1133
1137
|
/**
|
|
@@ -1143,6 +1147,7 @@ declare namespace CodeDeploy {
|
|
|
1143
1147
|
*/
|
|
1144
1148
|
externalId?: ExternalId;
|
|
1145
1149
|
relatedDeployments?: RelatedDeployments;
|
|
1150
|
+
overrideAlarmConfiguration?: AlarmConfiguration;
|
|
1146
1151
|
}
|
|
1147
1152
|
export type DeploymentOption = "WITH_TRAFFIC_CONTROL"|"WITHOUT_TRAFFIC_CONTROL"|string;
|
|
1148
1153
|
export interface DeploymentOverview {
|
|
@@ -1205,7 +1210,7 @@ declare namespace CodeDeploy {
|
|
|
1205
1210
|
*/
|
|
1206
1211
|
instanceTarget?: InstanceTarget;
|
|
1207
1212
|
/**
|
|
1208
|
-
* Information about the target for a deployment that uses the
|
|
1213
|
+
* Information about the target for a deployment that uses the Lambda compute platform.
|
|
1209
1214
|
*/
|
|
1210
1215
|
lambdaTarget?: LambdaTarget;
|
|
1211
1216
|
/**
|
|
@@ -1241,7 +1246,7 @@ declare namespace CodeDeploy {
|
|
|
1241
1246
|
*/
|
|
1242
1247
|
message?: LifecycleMessage;
|
|
1243
1248
|
/**
|
|
1244
|
-
* The last portion of the diagnostic log. If available,
|
|
1249
|
+
* The last portion of the diagnostic log. If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
|
|
1245
1250
|
*/
|
|
1246
1251
|
logTail?: LogTail;
|
|
1247
1252
|
}
|
|
@@ -1264,7 +1269,7 @@ declare namespace CodeDeploy {
|
|
|
1264
1269
|
export type EC2TagFilterType = "KEY_ONLY"|"VALUE_ONLY"|"KEY_AND_VALUE"|string;
|
|
1265
1270
|
export interface EC2TagSet {
|
|
1266
1271
|
/**
|
|
1267
|
-
* A list that contains other lists of EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
|
|
1272
|
+
* A list that contains other lists of Amazon EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
|
|
1268
1273
|
*/
|
|
1269
1274
|
ec2TagSetList?: EC2TagSetList;
|
|
1270
1275
|
}
|
|
@@ -1338,7 +1343,7 @@ declare namespace CodeDeploy {
|
|
|
1338
1343
|
*/
|
|
1339
1344
|
trafficWeight?: TrafficWeight;
|
|
1340
1345
|
/**
|
|
1341
|
-
* The target group associated with the task set. The target group is used by
|
|
1346
|
+
* The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set.
|
|
1342
1347
|
*/
|
|
1343
1348
|
targetGroup?: TargetGroupInfo;
|
|
1344
1349
|
/**
|
|
@@ -1362,7 +1367,7 @@ declare namespace CodeDeploy {
|
|
|
1362
1367
|
export type ErrorCode = "AGENT_ISSUE"|"ALARM_ACTIVE"|"APPLICATION_MISSING"|"AUTOSCALING_VALIDATION_ERROR"|"AUTO_SCALING_CONFIGURATION"|"AUTO_SCALING_IAM_ROLE_PERMISSIONS"|"CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND"|"CUSTOMER_APPLICATION_UNHEALTHY"|"DEPLOYMENT_GROUP_MISSING"|"ECS_UPDATE_ERROR"|"ELASTIC_LOAD_BALANCING_INVALID"|"ELB_INVALID_INSTANCE"|"HEALTH_CONSTRAINTS"|"HEALTH_CONSTRAINTS_INVALID"|"HOOK_EXECUTION_FAILURE"|"IAM_ROLE_MISSING"|"IAM_ROLE_PERMISSIONS"|"INTERNAL_ERROR"|"INVALID_ECS_SERVICE"|"INVALID_LAMBDA_CONFIGURATION"|"INVALID_LAMBDA_FUNCTION"|"INVALID_REVISION"|"MANUAL_STOP"|"MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION"|"MISSING_ELB_INFORMATION"|"MISSING_GITHUB_TOKEN"|"NO_EC2_SUBSCRIPTION"|"NO_INSTANCES"|"OVER_MAX_INSTANCES"|"RESOURCE_LIMIT_EXCEEDED"|"REVISION_MISSING"|"THROTTLED"|"TIMEOUT"|"CLOUDFORMATION_STACK_FAILURE"|string;
|
|
1363
1368
|
export interface ErrorInformation {
|
|
1364
1369
|
/**
|
|
1365
|
-
* For more information, see Error Codes for
|
|
1370
|
+
* For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide. The error code: APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started. DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started. HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. IAM_ROLE_MISSING: The service role cannot be accessed. IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. INTERNAL_ERROR: There was an internal error. NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2. NO_INSTANCES: No instances were specified, or no instances can be found. OVER_MAX_INSTANCES: The maximum number of instances was exceeded. THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services. TIMEOUT: The deployment has timed out. REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started.
|
|
1366
1371
|
*/
|
|
1367
1372
|
code?: ErrorCode;
|
|
1368
1373
|
/**
|
|
@@ -1385,21 +1390,21 @@ declare namespace CodeDeploy {
|
|
|
1385
1390
|
*/
|
|
1386
1391
|
deploymentGroups?: DeploymentGroupsList;
|
|
1387
1392
|
/**
|
|
1388
|
-
* When the revision was first used by
|
|
1393
|
+
* When the revision was first used by CodeDeploy.
|
|
1389
1394
|
*/
|
|
1390
1395
|
firstUsedTime?: Timestamp;
|
|
1391
1396
|
/**
|
|
1392
|
-
* When the revision was last used by
|
|
1397
|
+
* When the revision was last used by CodeDeploy.
|
|
1393
1398
|
*/
|
|
1394
1399
|
lastUsedTime?: Timestamp;
|
|
1395
1400
|
/**
|
|
1396
|
-
* When the revision was registered with
|
|
1401
|
+
* When the revision was registered with CodeDeploy.
|
|
1397
1402
|
*/
|
|
1398
1403
|
registerTime?: Timestamp;
|
|
1399
1404
|
}
|
|
1400
1405
|
export interface GetApplicationInput {
|
|
1401
1406
|
/**
|
|
1402
|
-
* The name of an
|
|
1407
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
1403
1408
|
*/
|
|
1404
1409
|
applicationName: ApplicationName;
|
|
1405
1410
|
}
|
|
@@ -1435,7 +1440,7 @@ declare namespace CodeDeploy {
|
|
|
1435
1440
|
}
|
|
1436
1441
|
export interface GetDeploymentConfigInput {
|
|
1437
1442
|
/**
|
|
1438
|
-
* The name of a deployment configuration associated with the IAM user or
|
|
1443
|
+
* The name of a deployment configuration associated with the IAM user or Amazon Web Services account.
|
|
1439
1444
|
*/
|
|
1440
1445
|
deploymentConfigName: DeploymentConfigName;
|
|
1441
1446
|
}
|
|
@@ -1447,7 +1452,7 @@ declare namespace CodeDeploy {
|
|
|
1447
1452
|
}
|
|
1448
1453
|
export interface GetDeploymentGroupInput {
|
|
1449
1454
|
/**
|
|
1450
|
-
* The name of an
|
|
1455
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
1451
1456
|
*/
|
|
1452
1457
|
applicationName: ApplicationName;
|
|
1453
1458
|
/**
|
|
@@ -1463,7 +1468,7 @@ declare namespace CodeDeploy {
|
|
|
1463
1468
|
}
|
|
1464
1469
|
export interface GetDeploymentInput {
|
|
1465
1470
|
/**
|
|
1466
|
-
* The unique ID of a deployment associated with the IAM user or
|
|
1471
|
+
* The unique ID of a deployment associated with the IAM user or Amazon Web Services account.
|
|
1467
1472
|
*/
|
|
1468
1473
|
deploymentId: DeploymentId;
|
|
1469
1474
|
}
|
|
@@ -1645,7 +1650,7 @@ declare namespace CodeDeploy {
|
|
|
1645
1650
|
*/
|
|
1646
1651
|
functionName?: LambdaFunctionName;
|
|
1647
1652
|
/**
|
|
1648
|
-
* The alias of a Lambda function. For more information, see
|
|
1653
|
+
* The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.
|
|
1649
1654
|
*/
|
|
1650
1655
|
functionAlias?: LambdaFunctionAlias;
|
|
1651
1656
|
/**
|
|
@@ -1676,7 +1681,7 @@ declare namespace CodeDeploy {
|
|
|
1676
1681
|
*/
|
|
1677
1682
|
targetArn?: TargetArn;
|
|
1678
1683
|
/**
|
|
1679
|
-
* The status an
|
|
1684
|
+
* The status an Lambda deployment's target Lambda function.
|
|
1680
1685
|
*/
|
|
1681
1686
|
status?: TargetStatus;
|
|
1682
1687
|
/**
|
|
@@ -1740,11 +1745,11 @@ declare namespace CodeDeploy {
|
|
|
1740
1745
|
export type LifecycleMessage = string;
|
|
1741
1746
|
export interface ListApplicationRevisionsInput {
|
|
1742
1747
|
/**
|
|
1743
|
-
* The name of an
|
|
1748
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
1744
1749
|
*/
|
|
1745
1750
|
applicationName: ApplicationName;
|
|
1746
1751
|
/**
|
|
1747
|
-
* The column name to use to sort the list results: registerTime: Sort by the time the revisions were registered with
|
|
1752
|
+
* The column name to use to sort the list results: registerTime: Sort by the time the revisions were registered with CodeDeploy. firstUsedTime: Sort by the time the revisions were first used in a deployment. lastUsedTime: Sort by the time the revisions were last used in a deployment. If not specified or set to null, the results are returned in an arbitrary order.
|
|
1748
1753
|
*/
|
|
1749
1754
|
sortBy?: ApplicationRevisionSortBy;
|
|
1750
1755
|
/**
|
|
@@ -1812,7 +1817,7 @@ declare namespace CodeDeploy {
|
|
|
1812
1817
|
}
|
|
1813
1818
|
export interface ListDeploymentGroupsInput {
|
|
1814
1819
|
/**
|
|
1815
|
-
* The name of an
|
|
1820
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
1816
1821
|
*/
|
|
1817
1822
|
applicationName: ApplicationName;
|
|
1818
1823
|
/**
|
|
@@ -1888,7 +1893,7 @@ declare namespace CodeDeploy {
|
|
|
1888
1893
|
}
|
|
1889
1894
|
export interface ListDeploymentsInput {
|
|
1890
1895
|
/**
|
|
1891
|
-
* The name of an
|
|
1896
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account. If applicationName is specified, then deploymentGroupName must be specified. If it is not specified, then deploymentGroupName must not be specified.
|
|
1892
1897
|
*/
|
|
1893
1898
|
applicationName?: ApplicationName;
|
|
1894
1899
|
/**
|
|
@@ -2003,7 +2008,7 @@ declare namespace CodeDeploy {
|
|
|
2003
2008
|
export type Message = string;
|
|
2004
2009
|
export interface MinimumHealthyHosts {
|
|
2005
2010
|
/**
|
|
2006
|
-
* The minimum healthy instance type: HOST_COUNT: The minimum number of healthy instances as an absolute value. FLEET_PERCENT: The minimum number of healthy instances as a percentage of the total number of instances in the deployment. In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instances at a time. The deployment is successful if four or more instances are deployed to successfully. Otherwise, the deployment fails. In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime,
|
|
2011
|
+
* The minimum healthy instance type: HOST_COUNT: The minimum number of healthy instances as an absolute value. FLEET_PERCENT: The minimum number of healthy instances as a percentage of the total number of instances in the deployment. In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instances at a time. The deployment is successful if four or more instances are deployed to successfully. Otherwise, the deployment fails. In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful. For more information, see CodeDeploy Instance Health in the CodeDeploy User Guide.
|
|
2007
2012
|
*/
|
|
2008
2013
|
type?: MinimumHealthyHostsType;
|
|
2009
2014
|
/**
|
|
@@ -2034,7 +2039,7 @@ declare namespace CodeDeploy {
|
|
|
2034
2039
|
*/
|
|
2035
2040
|
lifecycleEventHookExecutionId?: LifecycleEventHookExecutionId;
|
|
2036
2041
|
/**
|
|
2037
|
-
* The result of a Lambda function that validates a deployment lifecycle event. Succeeded and Failed
|
|
2042
|
+
* The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.
|
|
2038
2043
|
*/
|
|
2039
2044
|
status?: LifecycleEventStatus;
|
|
2040
2045
|
}
|
|
@@ -2058,7 +2063,7 @@ declare namespace CodeDeploy {
|
|
|
2058
2063
|
export type RawStringSha256 = string;
|
|
2059
2064
|
export interface RegisterApplicationRevisionInput {
|
|
2060
2065
|
/**
|
|
2061
|
-
* The name of an
|
|
2066
|
+
* The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
|
|
2062
2067
|
*/
|
|
2063
2068
|
applicationName: ApplicationName;
|
|
2064
2069
|
/**
|
|
@@ -2119,7 +2124,7 @@ declare namespace CodeDeploy {
|
|
|
2119
2124
|
export type RevisionInfoList = RevisionInfo[];
|
|
2120
2125
|
export interface RevisionLocation {
|
|
2121
2126
|
/**
|
|
2122
|
-
* The type of application revision: S3: An application revision stored in Amazon S3. GitHub: An application revision stored in GitHub (EC2/On-premises deployments only). String: A YAML-formatted or JSON-formatted string (
|
|
2127
|
+
* The type of application revision: S3: An application revision stored in Amazon S3. GitHub: An application revision stored in GitHub (EC2/On-premises deployments only). String: A YAML-formatted or JSON-formatted string (Lambda deployments only). AppSpecContent: An AppSpecContent object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
|
|
2123
2128
|
*/
|
|
2124
2129
|
revisionType?: RevisionLocationType;
|
|
2125
2130
|
/**
|
|
@@ -2131,11 +2136,11 @@ declare namespace CodeDeploy {
|
|
|
2131
2136
|
*/
|
|
2132
2137
|
gitHubLocation?: GitHubLocation;
|
|
2133
2138
|
/**
|
|
2134
|
-
* Information about the location of an
|
|
2139
|
+
* Information about the location of an Lambda deployment revision stored as a RawString.
|
|
2135
2140
|
*/
|
|
2136
2141
|
string?: RawString;
|
|
2137
2142
|
/**
|
|
2138
|
-
* The content of an AppSpec file for an
|
|
2143
|
+
* The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.
|
|
2139
2144
|
*/
|
|
2140
2145
|
appSpecContent?: AppSpecContent;
|
|
2141
2146
|
}
|
|
@@ -2287,7 +2292,7 @@ declare namespace CodeDeploy {
|
|
|
2287
2292
|
*/
|
|
2288
2293
|
autoScalingGroups?: AutoScalingGroupNameList;
|
|
2289
2294
|
/**
|
|
2290
|
-
* Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
|
|
2295
|
+
* Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.
|
|
2291
2296
|
*/
|
|
2292
2297
|
ec2TagSet?: EC2TagSet;
|
|
2293
2298
|
}
|
|
@@ -2341,7 +2346,7 @@ declare namespace CodeDeploy {
|
|
|
2341
2346
|
*/
|
|
2342
2347
|
timeBasedCanary?: TimeBasedCanary;
|
|
2343
2348
|
/**
|
|
2344
|
-
* A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
|
|
2349
|
+
* A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
|
|
2345
2350
|
*/
|
|
2346
2351
|
timeBasedLinear?: TimeBasedLinear;
|
|
2347
2352
|
}
|
|
@@ -2414,7 +2419,7 @@ declare namespace CodeDeploy {
|
|
|
2414
2419
|
*/
|
|
2415
2420
|
onPremisesInstanceTagFilters?: TagFilterList;
|
|
2416
2421
|
/**
|
|
2417
|
-
* The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
|
2422
|
+
* The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names or do not specify this parameter. To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
|
|
2418
2423
|
*/
|
|
2419
2424
|
autoScalingGroups?: AutoScalingGroupNameList;
|
|
2420
2425
|
/**
|
|
@@ -2422,7 +2427,7 @@ declare namespace CodeDeploy {
|
|
|
2422
2427
|
*/
|
|
2423
2428
|
serviceRoleArn?: Role;
|
|
2424
2429
|
/**
|
|
2425
|
-
* Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the
|
|
2430
|
+
* Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
|
|
2426
2431
|
*/
|
|
2427
2432
|
triggerConfigurations?: TriggerConfigList;
|
|
2428
2433
|
/**
|
|
@@ -2434,7 +2439,7 @@ declare namespace CodeDeploy {
|
|
|
2434
2439
|
*/
|
|
2435
2440
|
autoRollbackConfiguration?: AutoRollbackConfiguration;
|
|
2436
2441
|
/**
|
|
2437
|
-
* Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.
|
|
2442
|
+
* Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
|
|
2438
2443
|
*/
|
|
2439
2444
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy;
|
|
2440
2445
|
/**
|
|
@@ -2450,7 +2455,7 @@ declare namespace CodeDeploy {
|
|
|
2450
2455
|
*/
|
|
2451
2456
|
loadBalancerInfo?: LoadBalancerInfo;
|
|
2452
2457
|
/**
|
|
2453
|
-
* Information about groups of tags applied to on-premises instances. The deployment group includes only EC2 instances identified by all the tag groups.
|
|
2458
|
+
* Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
|
|
2454
2459
|
*/
|
|
2455
2460
|
ec2TagSet?: EC2TagSet;
|
|
2456
2461
|
/**
|
|
@@ -2464,7 +2469,7 @@ declare namespace CodeDeploy {
|
|
|
2464
2469
|
}
|
|
2465
2470
|
export interface UpdateDeploymentGroupOutput {
|
|
2466
2471
|
/**
|
|
2467
|
-
* If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group,
|
|
2472
|
+
* If the output contains no data, and the corresponding deployment group contained at least one Auto Scaling group, CodeDeploy successfully removed all corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services account. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon Web Services account.
|
|
2468
2473
|
*/
|
|
2469
2474
|
hooksNotCleanedUp?: AutoScalingGroupList;
|
|
2470
2475
|
}
|