Skip to main content

Posts

Showing posts with the label APIgateway

Template for API gateway creation using CI-CD

Below is the template which can be used for api gateway creation in AWS. Template : AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > Application containing RestAPI for First Globals: Function: Timeout: 30 Parameters: #s3 bucket name BucketName: Type: String Description: Bucket to be used Default: lambda-deployment-d1 EnvironmentName: Type: 'AWS::SSM::Parameter::Value<String>' Default: /<parameterPath>/EnvironmentName # /myDemo/d1/EnvironmentName StageName: Type: 'AWS::SSM::Parameter::Value<String>' Default: /<parameterPath>/StageName # /myDemo/d1/EnvironmentName BucketPrefix: Type: String Description: bucket prefix Default: first-project-api # /myDemo/d1/EnvironmentName CertificateARN: Type: 'AWS::SSM::...