AWS - Basic Commands
Setting Up
Set certain aws profile as default profile
setx AWS_PROFILE <profile_name>
setx AWS_PROFILE gic-emplify-dev
See your default AWS CLI profile
aws configure list
aws configure list-profiles
Troubleshooting
See Cloudformation Stack Resrouces
aws cloudformation list-stack-resources --stack-name <stack_name>
See S3 under your profie
aws s3 ls --profile <profile_name>
aws s3 ls --profile gic-emplify-dev
aws s3 ls --profile gic-emplify-dev --no-verify-ssl
See lambda configuration
aws lambda get-function-configuration --function-name <name>
Invoke Lambda function directly
aws lambda invoke --function-name <name> <output file_name>
aws lambda invoke --function-name emd-emplify-dev-consumption-DeptShowNode --cli-binary-format raw-in-base64-out --invocation-type Event response.json
All other aws commands
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
activate-type | batch-describe-type-configurations
cancel-update-stack | continue-update-rollback
create-change-set | create-stack
create-stack-instances | create-stack-set
deactivate-type | delete-change-set
delete-stack | delete-stack-instances
delete-stack-set | deregister-type
describe-account-limits | describe-change-set
describe-publisher | describe-stack-drift-detection-status
describe-stack-events | describe-stack-instance
describe-stack-resource | describe-stack-resource-drifts
describe-stack-resources | describe-stack-set
describe-stack-set-operation | describe-stacks
describe-type | describe-type-registration
detect-stack-drift | detect-stack-resource-drift
detect-stack-set-drift | estimate-template-cost
execute-change-set | get-stack-policy
get-template | get-template-summary
import-stacks-to-stack-set | list-change-sets
list-exports | list-imports
list-stack-instances | list-stack-resources
list-stack-set-operation-results | list-stack-set-operations
list-stack-sets | list-stacks
list-type-registrations | list-type-versions
list-types | publish-type
record-handler-progress | register-publisher
register-type | rollback-stack
set-stack-policy | set-type-configuration
set-type-default-version | signal-resource
stop-stack-set-operation | test-type
update-stack | update-stack-instances
update-stack-set | update-termination-protection
validate-template | package
deploy | wait
help