There are more AWS SDK examples available in the AWS Doc SDK Examples
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" ] }
-
For API details, see ListDeploymentConfigs
in AWS CLI Command Reference.
-
- 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
-
For API details, see ListDeploymentConfigs in AWS Tools for PowerShell Cmdlet Reference.
-