Use ListDeploymentConfigs with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use ListDeploymentConfigs with a CLI

The following code examples show how to use ListDeploymentConfigs.

CLI
AWS CLI

To get information about deployment configurations

The following list-deployment-configs example displays information about all deployment configurations that are associated with the user's AWS account.

aws deploy list-deployment-configs

Output:

{ "deploymentConfigsList": [ "ThreeQuartersHealthy", "CodeDeployDefault.AllAtOnce", "CodeDeployDefault.HalfAtATime", "CodeDeployDefault.OneAtATime" ] }
PowerShell
Tools for PowerShell

Example 1: This example gets a list of available deployment configurations.

Get-CDDeploymentConfigList

Output:

ThreeQuartersHealthy CodeDeployDefault.OneAtATime CodeDeployDefault.AllAtOnce CodeDeployDefault.HalfAtATime