INNER CODE UNIT · Go
func
mweagle/Sparta · apigatewayv2.go:55
func (apigd *APIV2GatewayDecorator) logicalResourceName() string {
return CloudFormationResourceName("WSSConnectionTable",
"WSSConnectionTable")
}
// DecorateService handles inserting the DDB Table
func (apigd *APIV2GatewayDecorator) DecorateService(context map[string]interface{},
serviceName string,
template *gof.Template,
S3Bucket string,
S3Key string,
buildID string,
awsConfig awsv2.Config,
noop bool,
logger *zerolog.Logger) error {
// Create the table...
dynamoDBResourceName := apigd.logicalResourceName()