Here's a list of snippets available at the moment:
Prefix |
Description |
apigw-inline-api-definition |
Generate an API Gateway Inline API definition |
apigw-token-authorizer |
Generate an API Gateway token authorizer |
apigw-add-model |
Generate an API Gateway model |
apigw-rest-api |
Generate an API Gateway REST API |
apigw-lambda-rest-api |
Generate an API Gateway Lambda REST API |
apigw-spec-rest-api |
Generate an API Gateway Spec REST API |
apigw-add-resource |
Generate an API Gateway resource |
apigw-lambda-integration |
Generate an API Gateway lambda integration |
apigw-aws-integration |
Generate an API Gateway AWS integration |
apigw-asset-api-definition |
Generate an API Gateway Asset API definition |
apigw-s3-api-definition |
Generate an API Gateway S3 API definition |
apigw-add-method |
Generate an API Gateway method |
apigw-add-proxy |
Generate an API Gateway proxy |
apigw-http-integration |
Generate an API Gateway HTTP integration |
apigw-request-authorizer |
Generate an API Gateway request authorizer |
Prefix |
Description |
cdk-import |
Generate a CDK import statement |
cdk-construct |
Generate a CDK construct scaffold |
cdk-stack |
Generate a CDK stack scaffold |
cdk-app |
Generate a CDK app scaffold |
cfn-parameter |
Add a CloudFormation parameter |
cfn-output |
Add a CloudFormation output |
Prefix |
Description |
ddb-gsi |
Generate a DynamoDB global secondary index |
ddb-lsi |
Generate a DynamoDB local secondary index |
ddb-table |
Generate a DynamoDB table |
ddb-attribute |
Add a DynamoDB table attribute |
Prefix |
Description |
iam-import-role |
Import an IAM role by ARN |
iam-aws-managed-policy-by-name |
Import an AWS managed policy by name |
iam-managed-policy-by-name |
Import a customer managed policy by name |
iam-service-principal |
Generate an IAM service principal |
iam-role |
Generate an IAM role |
iam-policy-statement |
Generate an IAM policy statement |
iam-managed-policy-by-arn |
Import a customer managed policy by ARN |
iam-account-principal |
Generate an IAM account principal |
iam-arn-principal |
Generate an IAM ARN principal |
iam-organization-principal |
Generate an IAM organization principal |
iam-policy-document |
Generate an IAM policy document |
Prefix |
Description |
kms-key |
Generate a KMS key |
kms-key-from-alias |
import a KMS key by alias |
kms-key-from-arn |
Import a KMS key by ARN |
Prefix |
Description |
lambda-code-from-bucket |
Import Lambda function code from S3 |
lambda-code-from-asset |
Import Lambda function code from local assets |
lambda-code-from-inline |
Import Lambda function code from inline |
lambda-function |
Generate a Lambda function |
Prefix |
Description |
s3-import-from-attributes |
Import S3 bucket by attributes |
s3-bucket |
Generate S3 bucket |
s3-block-config |
Generate S3 block public access configuration |
s3-import-from-name |
Import S3 bucket by name |
s3-import-from-arn |
Import S3 bucket by ARN |
Prefix |
Description |
sns-subscription-url |
Add a SNS subscription |
sns-subscription-sqs |
Add a SQS subscription |
sns-subscription-lambda |
Add a Lambda subscription |
sns-subscription-email |
Add an email subscription |
sns-subscription-sms |
Add a SMS subscription |
Prefix |
Description |
sns-topic-from-arn |
Import a SNS topic by ARN |
sns-topic |
Add a SNS topic |
Prefix |
Description |
sqs-queue |
Add a SQS queue |
sqs-dlq |
Generate a SQS dead-letter queue configuration |