How to Get Account Number from AWS Lambda
If you need to get the current Account Number, or Account ID from within a Lambda execution, then you can access invoked_function_arn
from the context …
160 articles about aws development, tools, and best practices
If you need to get the current Account Number, or Account ID from within a Lambda execution, then you can access invoked_function_arn
from the context …
AssumeRole – is useful for allowing existing IAM users to access AWS resources that they don’t already have access to. For example, the user might …
Read Article →Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB. …
Read Article →CodeDeploy provides two (2) deployment type options:
In-place deployment: The application on each instance in the …
Read Article →Amazon ECS supports the following task placement strategies:
binpack – Place tasks based on the least available amount of CPU or memory. This …
Read Article →– All at once – Deploy the new version to all instances simultaneously. All instances in your environment are out of service for a short time while …
Read Article →You can query the ip-ranges
Amazon AWS URL, and parse the results through jq
as follows:
Query:
curl -s …
Read Article →
If you get the following error while running AWS CDK:
raise JSIIError(resp.error) from JavaScriptError(resp.stack)
jsii.errors.JSIIError: docker …
Read Article →
AWS CLI
Step 1
export bucketname='your-bucket-here'
Step 2
aws s3api delete-objects --bucket $bucketname --delete "$(aws …
Read Article →
If you are creating a FSx file system, and want to connect it to AWS Managed Active Directory, then you will need to create a VPC Security Group with …
Read Article →If you need to create an EC2 instance in CloudFormation, then you can do the following: …
Read Article →If you need to run a command, or set of commands on an AWS ECS cluster container, then you can do the following:
aws ecs execute-command --cluster …
Read Article →