Difference between revisions of "RDS template.cf"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
Type: [[AWS::RDS::DBInstance]] | Type: [[AWS::RDS::DBInstance]] | ||
Properties: | Properties: | ||
− | + | [[AllocatedStorage]]: '5' | |
− | |||
− | |||
− | |||
DBInstanceClass: db.t2.micro | DBInstanceClass: db.t2.micro | ||
− | Engine: PostgreSQL | + | [[Engine]]: PostgreSQL |
MasterUsername: MyName | MasterUsername: MyName | ||
MasterUserPassword: MyPassword | MasterUserPassword: MyPassword | ||
DeletionPolicy: Delete | DeletionPolicy: Delete | ||
− | |||
− | |||
− | |||
https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/RDS/RDS_Snapshot_On_Delete.yaml | https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/RDS/RDS_Snapshot_On_Delete.yaml | ||
+ | == Related == | ||
+ | * <code>[[AWS::RDS::DBInstance]]</code> | ||
+ | * <code>[[aws rds create-db-instance]]</code> | ||
+ | * <code>[[Terraform resource: aws_db_instance]]</code> | ||
+ | * [[AWS RDS]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{aws cloudformation}} |
+ | * {{AWS RDS}} | ||
+ | |||
+ | [[Category:AWS]] |
Latest revision as of 20:27, 1 June 2022
AWSTemplateFormatVersion: '2010-09-09' Metadata: License: Apache-2.0 Description: 'AWS CloudFormation Sample Template RDS_Snapshot_On_Delete: Sample template showing how to create an RDS DBInstance that is snapshotted on stack deletion. **WARNING** This template creates an Amazon RDS database instance. When the stack is deleted a database snapshot will be left in your account. You will be billed for the AWS resources used if you create a stack from this template.' Resources: MyDB: Type: AWS::RDS::DBInstance Properties: AllocatedStorage: '5' DBInstanceClass: db.t2.micro Engine: PostgreSQL MasterUsername: MyName MasterUserPassword: MyPassword DeletionPolicy: Delete
Related[edit]
See also[edit]
- AWS CloudFormation: [
aws cloudformation
|create-stack
|list-stacks
|delete-stack
|update-stack
|list-types
|estimate-template-cost
|validate-template
|describe-stacks
|deploy
|drift detection
],aws cloudformation get-template-summary, aws cloudformation describe-stack-events
- Amazon databases: AWS RDS, storage,
aws rds
, Amazon RDS Proxy, RDS FAQs, PostgreSQL, MySQL, SQL Server, AWS Outposts, Amazon Aurora, Amazon Aurora Serverless , Amazon DocumentDB, Amazon DynamoDB, Amazon Redshift, Amazon QLDB, Amazon RDS Performance Insights, DataFileRead, DMS, Amazon Neptune, Amazon MemoryDB for Redis, Amazon RDS query editor for Aurora Serverless, Amazon Redshift query editor, AWS RDS Snapshots, AWS RDS Instance Types,rds_superuser
, Authentication, autoscaling
Advertising: