...
Code Block |
---|
sfdx force:data:soql:query -q "SELECT CA10__applicationName__c, (SELECT Name FROM CA10__AWS_EC2_Instances__r), (SELECT Name FROM CA10__AWS_S3_Buckets__r), (SELECT Name FROM CA10__AWS_EBS_Snapshots__r) FROM CA10__CaApplicationTier__c WHERE CA10__applicationName__c = '<specific application name>'" -u <Org Alias from Authentication> |
WHERE
CA10__AWS_EC2_Instances__r
, CA10__AWS_S3_Buckets__r
, CA10__AWS_EBS_Snapshots__r
- application attachable objects (see more here)
specific <specific application namename>
- a placeholder for of the name of the application name that is queried
...
Other use cases:
...