CodeDeployAliases.

GetDeploymentInfo(ICakeContext, string, DeploySettings, CancellationToken) Method

Summary

Deploys an application revision through the specified deployment group.

Syntax

public static Task<DeploymentInfo> GetDeploymentInfo(this ICakeContext context, string deploymentID, DeploySettings settings, CancellationToken cancellationToken)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
deploymentID string A deployment ID associated with the applicable IAM user or AWS account.
settings DeploySettings The DeploySettings used during the request to AWS.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type Description
Task<DeploymentInfo>