Você pode usar o comando --generate-cli-skeleton
. Conforme mencionado na documentação para create-application
subcomando :
--generate-cli-skeleton
(string
) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for--cli-input-json
. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.emphasis mine
que gera:
└──$ aws elasticbeanstalk create-environment --generate-cli-skeleton
{
"ApplicationName": "",
"EnvironmentName": "",
"GroupName": "",
"Description": "",
"CNAMEPrefix": "",
"Tier": {
"Name": "",
"Type": "",
"Version": ""
},
"Tags": [
{
"Key": "",
"Value": ""
}
],
"VersionLabel": "",
"TemplateName": "",
"SolutionStackName": "",
"PlatformArn": "",
"OptionSettings": [
{
"ResourceName": "",
"Namespace": "",
"OptionName": "",
"Value": ""
}
],
"OptionsToRemove": [
{
"ResourceName": "",
"Namespace": "",
"OptionName": ""
}
]
}
Para valores e tipos possíveis, geralmente, consulte os documentos de solicitação do cliente boto3
. Eles geralmente descrevem elementos individuais em detalhes.