sample-apps/list-manager/template-vpcrds.yml [1:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AWSTemplateFormatVersion: 2010-09-09
Parameters:
  databaseName:
    Default: lambdadb
    Description: Database name
    Type: String
    MinLength: '1'
    MaxLength: '64'
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
    ConstraintDescription: Begin with a letter and use only alphanumeric characters.
  databaseUser:
    NoEcho: 'true'
    Description: Database username
    Default: admin
    Type: String
    MinLength: '1'
    MaxLength: '16'
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
    ConstraintDescription: Begin with a letter and use only alphanumeric characters.
Resources:
  databaseSubnetGroup:
    Type: AWS::RDS::DBSubnetGroup
    Properties:
      DBSubnetGroupDescription: Subnets
      SubnetIds:
        - !Ref privateSubnetA
        - !Ref privateSubnetB
  database:
    Type: AWS::RDS::DBInstance
    Properties:
      DBName: !Ref databaseName
      AllocatedStorage: '10'
      DBInstanceClass: db.t3.small
      Engine: MySQL
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sample-apps/rds-mysql/template-vpcrds.yml [1:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AWSTemplateFormatVersion: 2010-09-09
Parameters:
  databaseName:
    Default: lambdadb
    Description: Database name
    Type: String
    MinLength: '1'
    MaxLength: '64'
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
    ConstraintDescription: Begin with a letter and use only alphanumeric characters.
  databaseUser:
    NoEcho: 'true'
    Description: Database username
    Default: admin
    Type: String
    MinLength: '1'
    MaxLength: '16'
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
    ConstraintDescription: Begin with a letter and use only alphanumeric characters.
Resources:
  databaseSubnetGroup:
    Type: AWS::RDS::DBSubnetGroup
    Properties:
      DBSubnetGroupDescription: Subnets
      SubnetIds:
        - !Ref privateSubnetA
        - !Ref privateSubnetB
  database:
    Type: AWS::RDS::DBInstance
    Properties:
      DBName: !Ref databaseName
      AllocatedStorage: '10'
      DBInstanceClass: db.t3.small
      Engine: MySQL
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



