Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ci
README.md cleanup generic param docs Oct 3, 2018
template.yaml Make encryption optionnal for rdspostgresql Dec 28, 2018

README.md

AWS Service Broker - Amazon RDS for PostgreSQL Documentation

PostgreSQL has become the preferred open source relational database for many enterprise developers and start-ups, powering leading geospatial and mobile applications. Amazon RDS makes it easy to set up, operate, and scale PostgreSQL deployments in the cloud. With Amazon RDS, you can deploy scalable PostgreSQL deployments in minutes with cost-efficient and resizable hardware capacity. Amazon RDS manages complex and time-consuming administrative tasks such as PostgreSQL software installation and upgrades; storage management; replication for high availability and read throughput; and backups for disaster recovery. https://aws.amazon.com/documentation/rds/

Table of contents

Parameters

production

Creates an Amazon RDS for PostgreSQL database optimised for production use

Pricing: https://aws.amazon.com/rds/pricing/

Required

At a minimum these parameters must be declared when provisioning an instance of this service

Name Description Accepted Values
AccessCidr CIDR block to allow to connect to database string

Optional

These parameters can optionally be declared when provisioning

Name Description Default Accepted Values
AllocatedStorageAndIops Storage/IOPS to allocate 100 GB / 1,000 IOPS 100 GB / 1,000 IOPS, 300 GB / 3,000 IOPS, 600 GB / 6,000 IOPS, 1,000 GB / 10,000 IOPS, 1,500 GB / 15,000 IOPS, 2,000 GB / 20,000 IOPS, 3,000 GB / 30,000 IOPS, 4,000 GB / 40,000 IOPS, 6,000 GB / 60,000 IOPS
DBInstanceClass The compute and memory capacity of the DB instance. db.m4.xlarge db.m1.small, db.m1.medium, db.m1.large, db.m1.xlarge, db.m2.xlarge, db.m2.2xlarge, db.m2.4xlarge, db.m3.medium, db.m3.large, db.m3.xlarge, db.m3.2xlarge, db.m4.large, db.m4.xlarge, db.m4.2xlarge, db.m4.4xlarge, db.m4.10xlarge, db.r3.large, db.r3.xlarge, db.r3.2xlarge, db.r3.4xlarge, db.r3.8xlarge, db.t2.micro, db.t2.small, db.t2.medium, db.t2.large
EngineVersion The version number of the database engine to use. 9.6.3 9.3.12, 9.3.14, 9.3.16, 9.3.17, 9.4.7, 9.4.9, 9.4.11, 9.4.12, 9.5.2, 9.5.4, 9.5.6, 9.5.7, 9.6.1, 9.6.2, 9.6.3
PostgresServerTimezone The default timezone for the database engine to use. UTC Africa/Cairo, Africa/Casablanca, Africa/Harare, Africa/Monrovia, Africa/Nairobi, Africa/Tripoli, Africa/Windhoek, America/Araguaina, America/Asuncion, America/Bogota, America/Caracas, America/Chihuahua, America/Cuiaba, America/Denver, America/Fortaleza, America/Guatemala, America/Halifax, America/Manaus, America/Matamoros, America/Monterrey, America/Montevideo, America/Phoenix, America/Santiago, America/Tijuana, Asia/Amman, Asia/Ashgabat, Asia/Baghdad, Asia/Baku, Asia/Bangkok, Asia/Beirut, Asia/Calcutta, Asia/Damascus, Asia/Dhaka, Asia/Irkutsk, Asia/Jerusalem, Asia/Kabul, Asia/Karachi, Asia/Kathmandu, Asia/Krasnoyarsk, Asia/Magadan, Asia/Muscat, Asia/Novosibirsk, Asia/Riyadh, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Taipei, Asia/Tehran, Asia/Tokyo, Asia/Ulaanbaatar, Asia/Vladivostok, Asia/Yakutsk, Asia/Yerevan, Atlantic/Azores, Australia/Adelaide, Australia/Brisbane, Australia/Darwin, Australia/Hobart, Australia/Perth, Australia/Sydney, Canada/Newfoundland, Canada/Saskatchewan, Brazil/East, Europe/Amsterdam, Europe/Athens, Europe/Dublin, Europe/Helsinki, Europe/Istanbul, Europe/Kaliningrad, Europe/Moscow, Europe/Paris, Europe/Prague, Europe/Sarajevo, Pacific/Auckland, Pacific/Fiji, Pacific/Guam, Pacific/Honolulu, Pacific/Samoa, US/Alaska, US/Central, US/Eastern, US/East-Indiana, US/Pacific, UTC
PreferredBackupWindow The daily time range in UTC during which automated backups are created (if automated backups are enabled). Cannot overlap with PreferredMaintenanceWindowTime 00:00-02:00 00:00-02:00, 01:00-03:00, 02:00-04:00, 03:00-05:00, 04:00-06:00, 05:00-07:00, 06:00-08:00, 07:00-09:00, 08:00-10:00, 09:00-11:00, 10:00-12:00, 11:00-13:00, 12:00-14:00, 13:00-15:00, 14:00-16:00, 15:00-17:00, 16:00-18:00, 17:00-19:00, 18:00-20:00, 19:00-21:00, 20:00-22:00, 21:00-23:00, 22:00-24:00
PreferredMaintenanceWindowDay The day of the week which RDS maintenance will be performed Mon Mon, Tue, Wed, Thu, Fri, Sat, Sun
PreferredMaintenanceWindowEndTime The weekly end time in UTC for the RDS maintenance window, must be more than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 06:00 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00
PreferredMaintenanceWindowStartTime The weekly start time in UTC for the RDS maintenance window, must be less than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 04:00 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00
PubliclyAccessible Indicates whether the DB instance is an Internet-facing instance. false true, false

Generic

These parameters are required, but generic or require privileged access to the underlying AWS account, we recommend they are configured with a broker secret, see broker documentation for details.

Name Description Default Accepted Values
target_account_id AWS Account ID to provision into (optional)
target_role_name IAM Role name to provision with (optional), must be used in combination with target_account_id
region AWS Region to create RDS instance in. us-west-2 ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-west-1, eu-west-2, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2
VpcId The ID of the VPC to launch the RDS instance into

Prescribed

These are parameters that are prescribed by the plan and are not configurable, should adjusting any of these be required please choose a plan that makes them available.

Name Description Value
MultiAZ Specifies if the database instance is a multiple Availability Zone deployment. true
NumberOfAvailabilityZones Quantity of subnets to use, if selecting more than 2 the region this stack is in must have at least that many Availability Zones 2
AvailabilityZones list of availability zones to use, must be the same quantity as specified in NumberOfAvailabilityZones Auto
CidrSize Size of Cidr block to allocate if CidrBlocks is set to Auto. 27
CidrBlocks comma seperated list of CIDR blocks to place RDS into, must be the same quantity as specified in NumberOfAvailabilityZones Auto
DBName The name of the database to create when the DB instance is created, will be autogenerated if set to "Auto". Auto
PortNumber The port number for the database server to listen on 13306
StorageEncrypted Indicates whether the DB instance is encrypted. true
StorageType Specifies the storage type to be associated with the DB instance. io1
CopyTagsToSnapshot Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. true
BackupRetentionPeriod The number of days during which automatic DB snapshots are retained. Setting 0 disables automatic snapshots, maximum value is 35 35
MonitoringInterval The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. 1
AllowMajorVersionUpgrade If you update the EngineVersion property to a version that's different from the DB instance's current major version, set this property to true. false
AutoMinorVersionUpgrade Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. true
MasterUsername Master database Username master
MasterUserPassword Master user database Password, if left at default a 32 character password will be generated Auto

dev

Creates an Amazon RDS for PostgreSQL database optimised for dev/test use

Pricing: https://aws.amazon.com/rds/pricing/

Required

At a minimum these parameters must be declared when provisioning an instance of this service

Name Description Accepted Values
AccessCidr CIDR block to allow to connect to database string

Optional

These parameters can optionally be declared when provisioning

Name Description Default Accepted Values
AllocatedStorageAndIops Storage/IOPS to allocate 100 GB / 1,000 IOPS 100 GB / 1,000 IOPS, 300 GB / 3,000 IOPS, 600 GB / 6,000 IOPS, 1,000 GB / 10,000 IOPS, 1,500 GB / 15,000 IOPS, 2,000 GB / 20,000 IOPS, 3,000 GB / 30,000 IOPS, 4,000 GB / 40,000 IOPS, 6,000 GB / 60,000 IOPS
DBInstanceClass The compute and memory capacity of the DB instance. db.m4.xlarge db.m1.small, db.m1.medium, db.m1.large, db.m1.xlarge, db.m2.xlarge, db.m2.2xlarge, db.m2.4xlarge, db.m3.medium, db.m3.large, db.m3.xlarge, db.m3.2xlarge, db.m4.large, db.m4.xlarge, db.m4.2xlarge, db.m4.4xlarge, db.m4.10xlarge, db.r3.large, db.r3.xlarge, db.r3.2xlarge, db.r3.4xlarge, db.r3.8xlarge, db.t2.micro, db.t2.small, db.t2.medium, db.t2.large
EngineVersion The version number of the database engine to use. 9.6.3 9.3.12, 9.3.14, 9.3.16, 9.3.17, 9.4.7, 9.4.9, 9.4.11, 9.4.12, 9.5.2, 9.5.4, 9.5.6, 9.5.7, 9.6.1, 9.6.2, 9.6.3
PostgresServerTimezone The default timezone for the database engine to use. UTC Africa/Cairo, Africa/Casablanca, Africa/Harare, Africa/Monrovia, Africa/Nairobi, Africa/Tripoli, Africa/Windhoek, America/Araguaina, America/Asuncion, America/Bogota, America/Caracas, America/Chihuahua, America/Cuiaba, America/Denver, America/Fortaleza, America/Guatemala, America/Halifax, America/Manaus, America/Matamoros, America/Monterrey, America/Montevideo, America/Phoenix, America/Santiago, America/Tijuana, Asia/Amman, Asia/Ashgabat, Asia/Baghdad, Asia/Baku, Asia/Bangkok, Asia/Beirut, Asia/Calcutta, Asia/Damascus, Asia/Dhaka, Asia/Irkutsk, Asia/Jerusalem, Asia/Kabul, Asia/Karachi, Asia/Kathmandu, Asia/Krasnoyarsk, Asia/Magadan, Asia/Muscat, Asia/Novosibirsk, Asia/Riyadh, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Taipei, Asia/Tehran, Asia/Tokyo, Asia/Ulaanbaatar, Asia/Vladivostok, Asia/Yakutsk, Asia/Yerevan, Atlantic/Azores, Australia/Adelaide, Australia/Brisbane, Australia/Darwin, Australia/Hobart, Australia/Perth, Australia/Sydney, Canada/Newfoundland, Canada/Saskatchewan, Brazil/East, Europe/Amsterdam, Europe/Athens, Europe/Dublin, Europe/Helsinki, Europe/Istanbul, Europe/Kaliningrad, Europe/Moscow, Europe/Paris, Europe/Prague, Europe/Sarajevo, Pacific/Auckland, Pacific/Fiji, Pacific/Guam, Pacific/Honolulu, Pacific/Samoa, US/Alaska, US/Central, US/Eastern, US/East-Indiana, US/Pacific, UTC
PubliclyAccessible Indicates whether the DB instance is an Internet-facing instance. false true, false

Generic

These parameters are required, but generic or require privileged access to the underlying AWS account, we recommend they are configured with a broker secret, see broker documentation for details.

Name Description Default Accepted Values
target_account_id AWS Account ID to provision into (optional)
target_role_name IAM Role name to provision with (optional), must be used in combination with target_account_id
region AWS Region to create RDS instance in. us-west-2 ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-west-1, eu-west-2, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2
VpcId The ID of the VPC to launch the RDS instance into

Prescribed

These are parameters that are prescribed by the plan and are not configurable, should adjusting any of these be required please choose a plan that makes them available.

Name Description Value
MultiAZ Specifies if the database instance is a multiple Availability Zone deployment. false
NumberOfAvailabilityZones Quantity of subnets to use, if selecting more than 2 the region this stack is in must have at least that many Availability Zones 2
AvailabilityZones list of availability zones to use, must be the same quantity as specified in NumberOfAvailabilityZones Auto
CidrSize Size of Cidr block to allocate if CidrBlocks is set to Auto. 28
CidrBlocks comma seperated list of CIDR blocks to place RDS into, must be the same quantity as specified in NumberOfAvailabilityZones Auto
DBName The name of the database to create when the DB instance is created, will be autogenerated if set to "Auto". Auto
PortNumber The port number for the database server to listen on 13306
StorageEncrypted Indicates whether the DB instance is encrypted. true
StorageType Specifies the storage type to be associated with the DB instance. io1
CopyTagsToSnapshot Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. false
BackupRetentionPeriod The number of days during which automatic DB snapshots are retained. Setting 0 disables automatic snapshots, maximum value is 35 0
MonitoringInterval The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. 60
AllowMajorVersionUpgrade If you update the EngineVersion property to a version that's different from the DB instance's current major version, set this property to true. false
AutoMinorVersionUpgrade Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. true
MasterUsername Master database Username master
MasterUserPassword Master user database Password, if left at default a 32 character password will be generated Auto
PreferredBackupWindow The daily time range in UTC during which automated backups are created (if automated backups are enabled). Cannot overlap with PreferredMaintenanceWindowTime 04:00-06:00
PreferredMaintenanceWindowDay The day of the week which RDS maintenance will be performed Sat
PreferredMaintenanceWindowStartTime The weekly start time in UTC for the RDS maintenance window, must be less than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 06:00
PreferredMaintenanceWindowEndTime The weekly end time in UTC for the RDS maintenance window, must be more than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 07:00

custom

Creates an Amazon RDS for PostgreSQL database with custom configuration

Pricing: https://aws.amazon.com/rds/pricing/

Required

At a minimum these parameters must be declared when provisioning an instance of this service

Name Description Accepted Values
AccessCidr CIDR block to allow to connect to database string
MasterUsername Master database Username string

Optional

These parameters can optionally be declared when provisioning

Name Description Default Accepted Values
AllocatedStorageAndIops Storage/IOPS to allocate 100 GB / 1,000 IOPS 100 GB / 1,000 IOPS, 300 GB / 3,000 IOPS, 600 GB / 6,000 IOPS, 1,000 GB / 10,000 IOPS, 1,500 GB / 15,000 IOPS, 2,000 GB / 20,000 IOPS, 3,000 GB / 30,000 IOPS, 4,000 GB / 40,000 IOPS, 6,000 GB / 60,000 IOPS
AllowMajorVersionUpgrade If you update the EngineVersion property to a version that's different from the DB instance's current major version, set this property to true. false true, false
AutoMinorVersionUpgrade Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. true true, false
AvailabilityZones list of availability zones to use, must be the same quantity as specified in NumberOfAvailabilityZones Auto
BackupRetentionPeriod The number of days during which automatic DB snapshots are retained. Setting 0 disables automatic snapshots, maximum value is 35 35
CidrBlocks comma seperated list of CIDR blocks to place RDS into, must be the same quantity as specified in NumberOfAvailabilityZones Auto
CidrSize Size of Cidr block to allocate if CidrBlocks is set to Auto. 27
CopyTagsToSnapshot Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. true true, false
DBInstanceClass The compute and memory capacity of the DB instance. db.m4.xlarge db.m1.small, db.m1.medium, db.m1.large, db.m1.xlarge, db.m2.xlarge, db.m2.2xlarge, db.m2.4xlarge, db.m3.medium, db.m3.large, db.m3.xlarge, db.m3.2xlarge, db.m4.large, db.m4.xlarge, db.m4.2xlarge, db.m4.4xlarge, db.m4.10xlarge, db.r3.large, db.r3.xlarge, db.r3.2xlarge, db.r3.4xlarge, db.r3.8xlarge, db.t2.micro, db.t2.small, db.t2.medium, db.t2.large
DBName The name of the database to create when the DB instance is created, will be autogenerated if set to "Auto". Auto
EngineVersion The version number of the database engine to use. 9.6.3 9.3.12, 9.3.14, 9.3.16, 9.3.17, 9.4.7, 9.4.9, 9.4.11, 9.4.12, 9.5.2, 9.5.4, 9.5.6, 9.5.7, 9.6.1, 9.6.2, 9.6.3
MasterUserPassword Master user database Password, if left at default a 32 character password will be generated Auto
MonitoringInterval The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. 1 0, 1, 5, 10, 15, 30, 60
MultiAZ Specifies if the database instance is a multiple Availability Zone deployment. true true, false
NumberOfAvailabilityZones Quantity of subnets to use, if selecting more than 2 the region this stack is in must have at least that many Availability Zones 2 2, 3, 4, 5
PortNumber The port number for the database server to listen on 10001
PostgresServerTimezone The default timezone for the database engine to use. UTC Africa/Cairo, Africa/Casablanca, Africa/Harare, Africa/Monrovia, Africa/Nairobi, Africa/Tripoli, Africa/Windhoek, America/Araguaina, America/Asuncion, America/Bogota, America/Caracas, America/Chihuahua, America/Cuiaba, America/Denver, America/Fortaleza, America/Guatemala, America/Halifax, America/Manaus, America/Matamoros, America/Monterrey, America/Montevideo, America/Phoenix, America/Santiago, America/Tijuana, Asia/Amman, Asia/Ashgabat, Asia/Baghdad, Asia/Baku, Asia/Bangkok, Asia/Beirut, Asia/Calcutta, Asia/Damascus, Asia/Dhaka, Asia/Irkutsk, Asia/Jerusalem, Asia/Kabul, Asia/Karachi, Asia/Kathmandu, Asia/Krasnoyarsk, Asia/Magadan, Asia/Muscat, Asia/Novosibirsk, Asia/Riyadh, Asia/Seoul, Asia/Shanghai, Asia/Singapore, Asia/Taipei, Asia/Tehran, Asia/Tokyo, Asia/Ulaanbaatar, Asia/Vladivostok, Asia/Yakutsk, Asia/Yerevan, Atlantic/Azores, Australia/Adelaide, Australia/Brisbane, Australia/Darwin, Australia/Hobart, Australia/Perth, Australia/Sydney, Canada/Newfoundland, Canada/Saskatchewan, Brazil/East, Europe/Amsterdam, Europe/Athens, Europe/Dublin, Europe/Helsinki, Europe/Istanbul, Europe/Kaliningrad, Europe/Moscow, Europe/Paris, Europe/Prague, Europe/Sarajevo, Pacific/Auckland, Pacific/Fiji, Pacific/Guam, Pacific/Honolulu, Pacific/Samoa, US/Alaska, US/Central, US/Eastern, US/East-Indiana, US/Pacific, UTC
PreferredBackupWindow The daily time range in UTC during which automated backups are created (if automated backups are enabled). Cannot overlap with PreferredMaintenanceWindowTime 00:00-02:00 00:00-02:00, 01:00-03:00, 02:00-04:00, 03:00-05:00, 04:00-06:00, 05:00-07:00, 06:00-08:00, 07:00-09:00, 08:00-10:00, 09:00-11:00, 10:00-12:00, 11:00-13:00, 12:00-14:00, 13:00-15:00, 14:00-16:00, 15:00-17:00, 16:00-18:00, 17:00-19:00, 18:00-20:00, 19:00-21:00, 20:00-22:00, 21:00-23:00, 22:00-24:00
PreferredMaintenanceWindowDay The day of the week which RDS maintenance will be performed Mon Mon, Tue, Wed, Thu, Fri, Sat, Sun
PreferredMaintenanceWindowEndTime The weekly end time in UTC for the RDS maintenance window, must be more than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 06:00 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00
PreferredMaintenanceWindowStartTime The weekly start time in UTC for the RDS maintenance window, must be less than PreferredMaintenanceWindowEndTime and cannot overlap with PreferredBackupWindow 04:00 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00
PubliclyAccessible Indicates whether the DB instance is an Internet-facing instance. false true, false
StorageEncrypted Indicates whether the DB instance is encrypted. true true, false
StorageType Specifies the storage type to be associated with the DB instance. io1 io1, gp2, standard

Generic

These parameters are required, but generic or require privileged access to the underlying AWS account, we recommend they are configured with a broker secret, see broker documentation for details.

Name Description Default Accepted Values
target_account_id AWS Account ID to provision into (optional)
target_role_name IAM Role name to provision with (optional), must be used in combination with target_account_id
region AWS Region to create RDS instance in. us-west-2 ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-west-1, eu-west-2, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2
VpcId The ID of the VPC to launch the RDS instance into

Bind Credentials

These are the environment variables that are available to an application on bind.

Name Description
ENDPOINT_ADDRESS
MASTER_USERNAME
MASTER_PASSWORD
PORT
DB_NAME

Kubernetes/Openshift Examples

Note: Examples do not include generic parameters, if you have not setup defaults for these you will need to add them as additional parameters

production

Minimal

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-production-minimal-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: production
  parameters:
    AccessCidr: [VALUE] # REQUIRED

Complete

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-production-complete-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: production
  parameters:
    AccessCidr: [VALUE] # REQUIRED
    AllocatedStorageAndIops: 100 GB / 1,000 IOPS # OPTIONAL
    DBInstanceClass: db.m4.xlarge # OPTIONAL
    EngineVersion: 9.6.3 # OPTIONAL
    PostgresServerTimezone: UTC # OPTIONAL
    PreferredBackupWindow: 00:00-02:00 # OPTIONAL
    PreferredMaintenanceWindowDay: Mon # OPTIONAL
    PreferredMaintenanceWindowEndTime: 06:00 # OPTIONAL
    PreferredMaintenanceWindowStartTime: 04:00 # OPTIONAL
    PubliclyAccessible: false # OPTIONAL

dev

Minimal

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-dev-minimal-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: dev
  parameters:
    AccessCidr: [VALUE] # REQUIRED

Complete

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-dev-complete-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: dev
  parameters:
    AccessCidr: [VALUE] # REQUIRED
    AllocatedStorageAndIops: 100 GB / 1,000 IOPS # OPTIONAL
    DBInstanceClass: db.m4.xlarge # OPTIONAL
    EngineVersion: 9.6.3 # OPTIONAL
    PostgresServerTimezone: UTC # OPTIONAL
    PubliclyAccessible: false # OPTIONAL

custom

Minimal

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-custom-minimal-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: custom
  parameters:
    AccessCidr: [VALUE] # REQUIRED
    MasterUsername: [VALUE] # REQUIRED

Complete

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: rdspostgresql-custom-complete-example
spec:
  clusterServiceClassExternalName: rdspostgresql
  clusterServicePlanExternalName: custom
  parameters:
    AccessCidr: [VALUE] # REQUIRED
    MasterUsername: [VALUE] # REQUIRED
    AllocatedStorageAndIops: 100 GB / 1,000 IOPS # OPTIONAL
    AllowMajorVersionUpgrade: false # OPTIONAL
    AutoMinorVersionUpgrade: true # OPTIONAL
    AvailabilityZones: Auto # OPTIONAL
    BackupRetentionPeriod: 35 # OPTIONAL
    CidrBlocks: Auto # OPTIONAL
    CidrSize: 27 # OPTIONAL
    CopyTagsToSnapshot: true # OPTIONAL
    DBInstanceClass: db.m4.xlarge # OPTIONAL
    DBName: Auto # OPTIONAL
    EngineVersion: 9.6.3 # OPTIONAL
    MasterUserPassword: Auto # OPTIONAL
    MonitoringInterval: 1 # OPTIONAL
    MultiAZ: true # OPTIONAL
    NumberOfAvailabilityZones: 2 # OPTIONAL
    PortNumber: 10001 # OPTIONAL
    PostgresServerTimezone: UTC # OPTIONAL
    PreferredBackupWindow: 00:00-02:00 # OPTIONAL
    PreferredMaintenanceWindowDay: Mon # OPTIONAL
    PreferredMaintenanceWindowEndTime: 06:00 # OPTIONAL
    PreferredMaintenanceWindowStartTime: 04:00 # OPTIONAL
    PubliclyAccessible: false # OPTIONAL
    StorageEncrypted: true # OPTIONAL
    StorageType: io1 # OPTIONAL
You can’t perform that action at this time.