Skip to content

Lambda function to retrieve a given RDS Engine version settings

License

Notifications You must be signed in to change notification settings

lambda-my-aws/rds-engine-settings

Repository files navigation

rds_engine_settings

Lambda function to return all the settings for a given RDS DB Engine Version

Usage example:

Resources:
  lambdaGetDBEngineVersion:
    Type: AWS::CloudFormation::CustomResource
    Version: '1.0'
    Properties:
      ServiceToken: !Ref RdsSettingsFunctionArn
      EngineName: !Select
        - 0
        - Fn::Split:
          - '--'
          - !Ref RdsEngineVersion
      EngineVersion: !Select
        - 1
        - Fn::Split:
          - '--'
          - !Ref RdsEngineVersion
      Serverless: False
      GenerateParameterGroupSettings: True

Outputs:
  EngineFamily:
    Value: !GetAtt 'lambdaGetDBEngineVersion.DBParameterGroupFamily'

Parameters

EngineName: The name of the engine

EngineVersion: Version of the engine

GenerateParameterGroupSettings: If you intend to create a new Parameter group and use as close as possible to the default values, it will return a dictionary for parameters. Defaults to False.

Serverless: Whether or not we are looking for the serverless settings for the RDS DB Engine. Avoids mistakes. Default to False

About

Lambda function to retrieve a given RDS Engine version settings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published