UNPKG

@cloudtoolkit/aws

Version:

The Cloud Toolkit AWS provider for Pulumi provision well-architected solutions in [AWS](https://aws.amazon.com/). With Cloud Toolkit AWS you can use your preferred programming language to manage your platform with Infrastructure as Code.

121 lines (120 loc) 3.18 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; export interface AuroraMysqlBackupArgs { /** * Time window in which backups should be taken */ preferredWindow?: pulumi.Input<string>; /** * Retention days for backups */ retentionDays?: pulumi.Input<number>; } export interface AuroraMysqlDatabaseArgs { /** * The name of the database to create when the DB instance is created */ name?: pulumi.Input<string>; /** * Password length to login in the database */ passwordLength?: pulumi.Input<number>; /** * Username for database admin user */ username?: pulumi.Input<string>; } export interface AuroraMysqlLoggingArgs { /** * Enable audit logging */ audit?: pulumi.Input<boolean>; /** * Enable error logging */ error?: pulumi.Input<boolean>; /** * Enable general logging */ general?: pulumi.Input<boolean>; /** * Enable slowquery logging */ slowquery?: pulumi.Input<boolean>; } export interface AuroraMysqlMonitoringArgs { /** * Emails that will receive the alerts */ emails?: pulumi.Input<pulumi.Input<string>[]>; /** * Enable cluster alerting with CloudWatch */ enabled?: pulumi.Input<boolean>; } export interface AuroraMysqlNetworkingArgs { /** * Allow traffic from Internet */ allowInternet?: pulumi.Input<boolean>; /** * Allowed CIDRs that connect to the cluster */ allowedCidr?: pulumi.Input<pulumi.Input<string>[]>; /** * Subnets belonging to a Virtual Private Cloud where cluster must be deployed */ subnetIds?: pulumi.Input<pulumi.Input<string>[]>; /** * Virtual Private Cloud where instances must be deployed */ vpc?: pulumi.Input<string>; } export interface MysqlBackupArgs { /** * Time window in which backups should be taken */ preferredWindow?: pulumi.Input<string>; /** * Retention days for backups */ retentionDays?: pulumi.Input<number>; } export interface MysqlDatabaseArgs { /** * The name of the database to create when the DB instance is created */ name: pulumi.Input<string>; /** * Password length to login in the database instance */ passwordLength?: pulumi.Input<number>; /** * Username for database admin user */ username: pulumi.Input<string>; } export interface MysqlNetworkingArgs { /** * Allowed CIDRs that connect to the database instance */ allowedCidr?: pulumi.Input<pulumi.Input<string>[]>; /** * Subnets belonging to a Virtual Private Cloud where database instance must be deployed */ subnetIds?: pulumi.Input<pulumi.Input<string>[]>; /** * Virtual Private Cloud where database instance must be deployed */ vpc?: pulumi.Input<string>; } export interface MysqlStorageArgs { /** * Storage size allocated for database instance */ size?: pulumi.Input<number>; /** * Storage type class for database instance */ type?: pulumi.Input<enums.databases.MysqlStorageType>; }