Thanks to visit codestin.com
Credit goes to docs.aws.amazon.com

getDeployment

Gets information about a deployment.

The content property of the appSpecContent object in the returned revision is always null. Use GetApplicationRevision and the sha256 property of the returned appSpecContent object to get the content of the deployment’s AppSpec file.