import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Oracle Database@AWS Autonomous Database Serverless (ADB-S) instance. ADB-S uses shared Exadata infrastructure managed by Oracle and requires an existing ODB network; it does not require a customer-managed Exadata infrastructure or VM cluster. * * Provisioning, updating, and deleting an Autonomous Database are asynchronous and can take several hours. The AWS account and Region must be onboarded for Oracle Database@AWS and have sufficient service quotas. * * The AWS API defines all create parameters as optional because the valid combination depends on `source`. For a new database (`source = "NONE"`), configure the ODB network, database identity, workload, compute, storage, license, and ADMIN password values required by your Oracle Database@AWS tenancy. * * ## Example Usage * * ### Basic Usage * * Write-only arguments require Terraform 1.11 or later. With earlier Terraform versions, use the sensitive `adminPassword` argument instead; its value is stored in Terraform state. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const config = new pulumi.Config(); * const autonomousDatabaseAdminPassword = config.require("autonomousDatabaseAdminPassword"); * const example = new aws.odb.AutonomousDatabase("example", { * adminPasswordWo: autonomousDatabaseAdminPassword, * adminPasswordWoVersion: 1, * computeCount: 2, * dataStorageSizeInTbs: 1, * dbName: "TFADBEXAMPLE", * dbWorkload: "OLTP", * displayName: "pulumi-adbs-example", * licenseModel: "LICENSE_INCLUDED", * odbNetworkId: exampleAwsOdbNetwork.id, * source: "NONE", * tags: { * Environment: "example", * }, * }); * ``` * * ### AWS Secrets Manager ADMIN Password * * To retrieve the ADMIN password from AWS Secrets Manager, first enable the account-level `aws.odb.AutonomousDatabaseSecretsManagerIntegration`. Then create a customer-managed IAM role that trusts the Oracle-managed service role exported by that resource and grants `secretsmanager:GetSecretValue` permission on the secret. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.odb.AutonomousDatabase("example", {adminPasswordSource: { * customerManagedAwsSecret: { * externalIdType: "compartment_ocid", * iamRoleArn: "arn:aws:iam::123456789012:role/ADBSSecretManagerReadRole", * secretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:adbs-admin-password", * }, * }}); * ``` * * ### Reading the Created Database * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getAutonomousDatabase({ * id: exampleAwsOdbAutonomousDatabase.id, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `id` (String) Unique Autonomous Database identifier. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import an Autonomous Database using its ID. For example: * * ```sh * $ pulumi import aws:odb/autonomousDatabase:AutonomousDatabase example adb-example123 * ``` * * AWS does not return the ADMIN password or the creation-only `source`, `sourceConfiguration`, and `transportableTablespace` values. These values are absent from imported state. Adding creation-only values to configuration after import records them in state without replacing the database or applying them to AWS. Once recorded, changing or removing these values requires replacement. Configuring `adminPassword` or `adminPasswordWo` can still update the password, so review the plan after import and configure a password only when setting or rotating it. */ export declare class AutonomousDatabase extends pulumi.CustomResource { /** * Get an existing AutonomousDatabase resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AutonomousDatabaseState, opts?: pulumi.CustomResourceOptions): AutonomousDatabase; /** * Check whether an existing AutonomousDatabase resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: AutonomousDatabaseState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of AutonomousDatabase. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutonomousDatabase; /** * Actual data storage currently in use, in TB. */ readonly actualUsedDataStorageSizeInTbs: pulumi.Output; /** * Sensitive password for the `ADMIN` user. Must be between 12 and 30 characters. This value is stored in Terraform state. Conflicts with `adminPasswordSource` and `adminPasswordWo`. */ readonly adminPassword: pulumi.Output; /** * Source of the `ADMIN` password. Conflicts with `adminPassword` and `adminPasswordWo`. See `adminPasswordSource` Block below. */ readonly adminPasswordSource: pulumi.Output; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Sensitive write-only password for the `ADMIN` user. Must be between 12 and 30 characters. The value is sent to AWS but is never stored in pulumi preview or state. Requires Terraform 1.11 or later. Set `adminPasswordWoVersion` with this argument. Conflicts with `adminPassword` and `adminPasswordSource`. */ readonly adminPasswordWo: pulumi.Output; /** * Arbitrary integer stored in state. Change this value together with `adminPasswordWo` to rotate the ADMIN password. */ readonly adminPasswordWoVersion: pulumi.Output; /** * Storage currently allocated, in TB. */ readonly allocatedStorageSizeInTbs: pulumi.Output; /** * List of between 1 and 1024 IP addresses allowed to access the database. */ readonly allowlistedIps: pulumi.Output; /** * ARN of the Autonomous Database. */ readonly arn: pulumi.Output; /** * Automatic refresh frequency, in seconds, for a refreshable clone. */ readonly autoRefreshFrequencyInSeconds: pulumi.Output; /** * Refresh lag, in seconds, between a refreshable clone and its source. */ readonly autoRefreshPointLagInSeconds: pulumi.Output; /** * Maintenance schedule type. Valid values are `EARLY` and `REGULAR`. */ readonly autonomousMaintenanceScheduleType: pulumi.Output; /** * Availability Zone of the database. */ readonly availabilityZone: pulumi.Output; /** * Availability Zone ID of the database. */ readonly availabilityZoneId: pulumi.Output; /** * Oracle Database versions available for upgrade. */ readonly availableUpgradeVersions: pulumi.Output; /** * Automatic backup retention period, in days. */ readonly backupRetentionPeriodInDays: pulumi.Output; /** * Maximum compute capacity under the bring-your-own-license model. Minimum value is `2`. */ readonly byolComputeCountLimit: pulumi.Output; /** * Database character set. Changing this value creates a new resource. */ readonly characterSet: pulumi.Output; /** * Compute capacity in ECPUs or OCPUs. Valid values are from `0.1` through `512`. */ readonly computeCount: pulumi.Output; /** * Compute model, either `ECPU` or `OCPU`. */ readonly computeModel: pulumi.Output; /** * Allocated CPU core count. Valid values are from `1` through `128`. */ readonly cpuCoreCount: pulumi.Output; /** * Creation date and time. */ readonly createdAt: pulumi.Output; /** * Customer contacts that receive operational notifications from OCI. See `customerContactsToSendToOci` Block below. */ readonly customerContactsToSendToOcis: pulumi.Output; /** * Data volume size in GB. Valid values are from `20` through `393216`. */ readonly dataStorageSizeInGbs: pulumi.Output; /** * Data volume size in TB. Configured values must be whole numbers from `1` through `384`. When this argument is omitted, AWS can return a fractional value, for example when storage is configured in GB. */ readonly dataStorageSizeInTbs: pulumi.Output; /** * Oracle Database edition. Valid values are `STANDARD_EDITION` and `ENTERPRISE_EDITION`. */ readonly databaseEdition: pulumi.Output; /** * Autonomous Database type. */ readonly databaseType: pulumi.Output; /** * Database name. Must begin with a letter, contain only alphanumeric characters, and contain at most 30 characters. */ readonly dbName: pulumi.Output; /** * Database management tools to enable. See `dbToolsDetails` Block below. */ readonly dbToolsDetails: pulumi.Output; /** * Oracle Database software version. */ readonly dbVersion: pulumi.Output; /** * Database workload. Valid values are `OLTP`, `AJD`, `APEX`, and `LH`. */ readonly dbWorkload: pulumi.Output; /** * User-friendly database name. */ readonly displayName: pulumi.Output; /** * Encryption key provider. Valid configurable values are `ORACLE_MANAGED` and `AWS_KMS`. */ readonly encryptionKeyProvider: pulumi.Output; /** * Whether automatic compute scaling is enabled. */ readonly isAutoScalingEnabled: pulumi.Output; /** * Whether automatic storage scaling is enabled. */ readonly isAutoScalingForStorageEnabled: pulumi.Output; /** * Whether the backup retention period is locked against shortening. */ readonly isBackupRetentionLocked: pulumi.Output; /** * Whether local Oracle Data Guard is enabled. */ readonly isLocalDataGuardEnabled: pulumi.Output; /** * Whether mutual TLS is required for database connections. */ readonly isMtlsConnectionRequired: pulumi.Output; /** * Whether the database is a refreshable clone. */ readonly isRefreshableClone: pulumi.Output; /** * ARN of the AWS KMS key used when `encryptionKeyProvider` is `AWS_KMS`. */ readonly kmsKeyId: pulumi.Output; /** * Oracle license model. Valid values are `BRING_YOUR_OWN_LICENSE` and `LICENSE_INCLUDED`. */ readonly licenseModel: pulumi.Output; /** * Maximum data-loss limit, in seconds, for automatic local Data Guard failover. */ readonly localAdgAutoFailoverMaxDataLossLimit: pulumi.Output; /** * Long-term backup schedule. See `longTermBackupSchedule` Block below. */ readonly longTermBackupSchedule: pulumi.Output; /** * National character set. Changing this value creates a new resource. */ readonly ncharacterSet: pulumi.Output; /** * OCI resource anchor name. */ readonly ociResourceAnchorName: pulumi.Output; /** * OCI console URL. */ readonly ociUrl: pulumi.Output; /** * Oracle Cloud Identifier. */ readonly ocid: pulumi.Output; /** * ARN of the associated ODB network. */ readonly odbNetworkArn: pulumi.Output; /** * ID of the ODB network used by the database. Changing this value creates a new resource. */ readonly odbNetworkId: pulumi.Output; /** * Database open mode. */ readonly openMode: pulumi.Output; /** * Progress of the current operation. */ readonly percentProgress: pulumi.Output; /** * Database permission level. */ readonly permissionLevel: pulumi.Output; /** * Private endpoint hostname. */ readonly privateEndpoint: pulumi.Output; /** * Private endpoint IP address. */ readonly privateEndpointIp: pulumi.Output; /** * Private endpoint label. */ readonly privateEndpointLabel: pulumi.Output; /** * Refresh mode for a refreshable clone. */ readonly refreshableMode: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ID of the resource-pool leader Autonomous Database. */ readonly resourcePoolLeaderId: pulumi.Output; /** * Resource pool configuration. See `resourcePoolSummary` Block below. */ readonly resourcePoolSummary: pulumi.Output; /** * Scheduled database start and stop times. See `scheduledOperations` Block below. */ readonly scheduledOperations: pulumi.Output; /** * Oracle service console URL. */ readonly serviceConsoleUrl: pulumi.Output; /** * Source from which to create the database. Valid values are `NONE`, `DATABASE`, `BACKUP_FROM_ID`, `BACKUP_FROM_TIMESTAMP`, `CROSS_REGION_DATAGUARD`, `CROSS_REGION_DISASTER_RECOVERY`, and `CLONE_TO_REFRESHABLE`. Changing this value creates a new resource. */ readonly source: pulumi.Output; /** * Source-specific configuration used during creation. See `sourceConfiguration` Block below. Changing this value creates a new resource. */ readonly sourceConfiguration: pulumi.Output; /** * ID of the source database or backup. */ readonly sourceId: pulumi.Output; /** * Oracle SQL Developer Web URL. */ readonly sqlWebDeveloperUrl: pulumi.Output; /** * List of between 1 and 1024 IP addresses allowed to access the standby database. */ readonly standbyAllowlistedIps: pulumi.Output; /** * Source of the standby allowlist. Valid values are `PRIMARY`, `SEPARATE`, and `NOT_APPLICABLE`. */ readonly standbyAllowlistedIpsSource: pulumi.Output; /** * Current database lifecycle status. */ readonly status: pulumi.Output; /** * Additional lifecycle status information. */ readonly statusReason: pulumi.Output; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * RFC3339 timestamp at which automatic refresh begins. */ readonly timeOfAutoRefreshStart: pulumi.Output; readonly timeouts: pulumi.Output; /** * Transportable tablespace configuration. See `transportableTablespace` Block below. Changing this value creates a new resource. */ readonly transportableTablespace: pulumi.Output; /** * Create a AutonomousDatabase resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: AutonomousDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabase resources. */ export interface AutonomousDatabaseState { /** * Actual data storage currently in use, in TB. */ actualUsedDataStorageSizeInTbs?: pulumi.Input; /** * Sensitive password for the `ADMIN` user. Must be between 12 and 30 characters. This value is stored in Terraform state. Conflicts with `adminPasswordSource` and `adminPasswordWo`. */ adminPassword?: pulumi.Input; /** * Source of the `ADMIN` password. Conflicts with `adminPassword` and `adminPasswordWo`. See `adminPasswordSource` Block below. */ adminPasswordSource?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Sensitive write-only password for the `ADMIN` user. Must be between 12 and 30 characters. The value is sent to AWS but is never stored in pulumi preview or state. Requires Terraform 1.11 or later. Set `adminPasswordWoVersion` with this argument. Conflicts with `adminPassword` and `adminPasswordSource`. */ adminPasswordWo?: pulumi.Input; /** * Arbitrary integer stored in state. Change this value together with `adminPasswordWo` to rotate the ADMIN password. */ adminPasswordWoVersion?: pulumi.Input; /** * Storage currently allocated, in TB. */ allocatedStorageSizeInTbs?: pulumi.Input; /** * List of between 1 and 1024 IP addresses allowed to access the database. */ allowlistedIps?: pulumi.Input[] | undefined>; /** * ARN of the Autonomous Database. */ arn?: pulumi.Input; /** * Automatic refresh frequency, in seconds, for a refreshable clone. */ autoRefreshFrequencyInSeconds?: pulumi.Input; /** * Refresh lag, in seconds, between a refreshable clone and its source. */ autoRefreshPointLagInSeconds?: pulumi.Input; /** * Maintenance schedule type. Valid values are `EARLY` and `REGULAR`. */ autonomousMaintenanceScheduleType?: pulumi.Input; /** * Availability Zone of the database. */ availabilityZone?: pulumi.Input; /** * Availability Zone ID of the database. */ availabilityZoneId?: pulumi.Input; /** * Oracle Database versions available for upgrade. */ availableUpgradeVersions?: pulumi.Input[] | undefined>; /** * Automatic backup retention period, in days. */ backupRetentionPeriodInDays?: pulumi.Input; /** * Maximum compute capacity under the bring-your-own-license model. Minimum value is `2`. */ byolComputeCountLimit?: pulumi.Input; /** * Database character set. Changing this value creates a new resource. */ characterSet?: pulumi.Input; /** * Compute capacity in ECPUs or OCPUs. Valid values are from `0.1` through `512`. */ computeCount?: pulumi.Input; /** * Compute model, either `ECPU` or `OCPU`. */ computeModel?: pulumi.Input; /** * Allocated CPU core count. Valid values are from `1` through `128`. */ cpuCoreCount?: pulumi.Input; /** * Creation date and time. */ createdAt?: pulumi.Input; /** * Customer contacts that receive operational notifications from OCI. See `customerContactsToSendToOci` Block below. */ customerContactsToSendToOcis?: pulumi.Input[] | undefined>; /** * Data volume size in GB. Valid values are from `20` through `393216`. */ dataStorageSizeInGbs?: pulumi.Input; /** * Data volume size in TB. Configured values must be whole numbers from `1` through `384`. When this argument is omitted, AWS can return a fractional value, for example when storage is configured in GB. */ dataStorageSizeInTbs?: pulumi.Input; /** * Oracle Database edition. Valid values are `STANDARD_EDITION` and `ENTERPRISE_EDITION`. */ databaseEdition?: pulumi.Input; /** * Autonomous Database type. */ databaseType?: pulumi.Input; /** * Database name. Must begin with a letter, contain only alphanumeric characters, and contain at most 30 characters. */ dbName?: pulumi.Input; /** * Database management tools to enable. See `dbToolsDetails` Block below. */ dbToolsDetails?: pulumi.Input[] | undefined>; /** * Oracle Database software version. */ dbVersion?: pulumi.Input; /** * Database workload. Valid values are `OLTP`, `AJD`, `APEX`, and `LH`. */ dbWorkload?: pulumi.Input; /** * User-friendly database name. */ displayName?: pulumi.Input; /** * Encryption key provider. Valid configurable values are `ORACLE_MANAGED` and `AWS_KMS`. */ encryptionKeyProvider?: pulumi.Input; /** * Whether automatic compute scaling is enabled. */ isAutoScalingEnabled?: pulumi.Input; /** * Whether automatic storage scaling is enabled. */ isAutoScalingForStorageEnabled?: pulumi.Input; /** * Whether the backup retention period is locked against shortening. */ isBackupRetentionLocked?: pulumi.Input; /** * Whether local Oracle Data Guard is enabled. */ isLocalDataGuardEnabled?: pulumi.Input; /** * Whether mutual TLS is required for database connections. */ isMtlsConnectionRequired?: pulumi.Input; /** * Whether the database is a refreshable clone. */ isRefreshableClone?: pulumi.Input; /** * ARN of the AWS KMS key used when `encryptionKeyProvider` is `AWS_KMS`. */ kmsKeyId?: pulumi.Input; /** * Oracle license model. Valid values are `BRING_YOUR_OWN_LICENSE` and `LICENSE_INCLUDED`. */ licenseModel?: pulumi.Input; /** * Maximum data-loss limit, in seconds, for automatic local Data Guard failover. */ localAdgAutoFailoverMaxDataLossLimit?: pulumi.Input; /** * Long-term backup schedule. See `longTermBackupSchedule` Block below. */ longTermBackupSchedule?: pulumi.Input; /** * National character set. Changing this value creates a new resource. */ ncharacterSet?: pulumi.Input; /** * OCI resource anchor name. */ ociResourceAnchorName?: pulumi.Input; /** * OCI console URL. */ ociUrl?: pulumi.Input; /** * Oracle Cloud Identifier. */ ocid?: pulumi.Input; /** * ARN of the associated ODB network. */ odbNetworkArn?: pulumi.Input; /** * ID of the ODB network used by the database. Changing this value creates a new resource. */ odbNetworkId?: pulumi.Input; /** * Database open mode. */ openMode?: pulumi.Input; /** * Progress of the current operation. */ percentProgress?: pulumi.Input; /** * Database permission level. */ permissionLevel?: pulumi.Input; /** * Private endpoint hostname. */ privateEndpoint?: pulumi.Input; /** * Private endpoint IP address. */ privateEndpointIp?: pulumi.Input; /** * Private endpoint label. */ privateEndpointLabel?: pulumi.Input; /** * Refresh mode for a refreshable clone. */ refreshableMode?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of the resource-pool leader Autonomous Database. */ resourcePoolLeaderId?: pulumi.Input; /** * Resource pool configuration. See `resourcePoolSummary` Block below. */ resourcePoolSummary?: pulumi.Input; /** * Scheduled database start and stop times. See `scheduledOperations` Block below. */ scheduledOperations?: pulumi.Input[] | undefined>; /** * Oracle service console URL. */ serviceConsoleUrl?: pulumi.Input; /** * Source from which to create the database. Valid values are `NONE`, `DATABASE`, `BACKUP_FROM_ID`, `BACKUP_FROM_TIMESTAMP`, `CROSS_REGION_DATAGUARD`, `CROSS_REGION_DISASTER_RECOVERY`, and `CLONE_TO_REFRESHABLE`. Changing this value creates a new resource. */ source?: pulumi.Input; /** * Source-specific configuration used during creation. See `sourceConfiguration` Block below. Changing this value creates a new resource. */ sourceConfiguration?: pulumi.Input; /** * ID of the source database or backup. */ sourceId?: pulumi.Input; /** * Oracle SQL Developer Web URL. */ sqlWebDeveloperUrl?: pulumi.Input; /** * List of between 1 and 1024 IP addresses allowed to access the standby database. */ standbyAllowlistedIps?: pulumi.Input[] | undefined>; /** * Source of the standby allowlist. Valid values are `PRIMARY`, `SEPARATE`, and `NOT_APPLICABLE`. */ standbyAllowlistedIpsSource?: pulumi.Input; /** * Current database lifecycle status. */ status?: pulumi.Input; /** * Additional lifecycle status information. */ statusReason?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * RFC3339 timestamp at which automatic refresh begins. */ timeOfAutoRefreshStart?: pulumi.Input; timeouts?: pulumi.Input; /** * Transportable tablespace configuration. See `transportableTablespace` Block below. Changing this value creates a new resource. */ transportableTablespace?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousDatabase resource. */ export interface AutonomousDatabaseArgs { /** * Sensitive password for the `ADMIN` user. Must be between 12 and 30 characters. This value is stored in Terraform state. Conflicts with `adminPasswordSource` and `adminPasswordWo`. */ adminPassword?: pulumi.Input; /** * Source of the `ADMIN` password. Conflicts with `adminPassword` and `adminPasswordWo`. See `adminPasswordSource` Block below. */ adminPasswordSource?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * Sensitive write-only password for the `ADMIN` user. Must be between 12 and 30 characters. The value is sent to AWS but is never stored in pulumi preview or state. Requires Terraform 1.11 or later. Set `adminPasswordWoVersion` with this argument. Conflicts with `adminPassword` and `adminPasswordSource`. */ adminPasswordWo?: pulumi.Input; /** * Arbitrary integer stored in state. Change this value together with `adminPasswordWo` to rotate the ADMIN password. */ adminPasswordWoVersion?: pulumi.Input; /** * List of between 1 and 1024 IP addresses allowed to access the database. */ allowlistedIps?: pulumi.Input[] | undefined>; /** * Automatic refresh frequency, in seconds, for a refreshable clone. */ autoRefreshFrequencyInSeconds?: pulumi.Input; /** * Refresh lag, in seconds, between a refreshable clone and its source. */ autoRefreshPointLagInSeconds?: pulumi.Input; /** * Maintenance schedule type. Valid values are `EARLY` and `REGULAR`. */ autonomousMaintenanceScheduleType?: pulumi.Input; /** * Automatic backup retention period, in days. */ backupRetentionPeriodInDays?: pulumi.Input; /** * Maximum compute capacity under the bring-your-own-license model. Minimum value is `2`. */ byolComputeCountLimit?: pulumi.Input; /** * Database character set. Changing this value creates a new resource. */ characterSet?: pulumi.Input; /** * Compute capacity in ECPUs or OCPUs. Valid values are from `0.1` through `512`. */ computeCount?: pulumi.Input; /** * Allocated CPU core count. Valid values are from `1` through `128`. */ cpuCoreCount?: pulumi.Input; /** * Customer contacts that receive operational notifications from OCI. See `customerContactsToSendToOci` Block below. */ customerContactsToSendToOcis?: pulumi.Input[] | undefined>; /** * Data volume size in GB. Valid values are from `20` through `393216`. */ dataStorageSizeInGbs?: pulumi.Input; /** * Data volume size in TB. Configured values must be whole numbers from `1` through `384`. When this argument is omitted, AWS can return a fractional value, for example when storage is configured in GB. */ dataStorageSizeInTbs?: pulumi.Input; /** * Oracle Database edition. Valid values are `STANDARD_EDITION` and `ENTERPRISE_EDITION`. */ databaseEdition?: pulumi.Input; /** * Database name. Must begin with a letter, contain only alphanumeric characters, and contain at most 30 characters. */ dbName?: pulumi.Input; /** * Database management tools to enable. See `dbToolsDetails` Block below. */ dbToolsDetails?: pulumi.Input[] | undefined>; /** * Oracle Database software version. */ dbVersion?: pulumi.Input; /** * Database workload. Valid values are `OLTP`, `AJD`, `APEX`, and `LH`. */ dbWorkload?: pulumi.Input; /** * User-friendly database name. */ displayName?: pulumi.Input; /** * Encryption key provider. Valid configurable values are `ORACLE_MANAGED` and `AWS_KMS`. */ encryptionKeyProvider?: pulumi.Input; /** * Whether automatic compute scaling is enabled. */ isAutoScalingEnabled?: pulumi.Input; /** * Whether automatic storage scaling is enabled. */ isAutoScalingForStorageEnabled?: pulumi.Input; /** * Whether the backup retention period is locked against shortening. */ isBackupRetentionLocked?: pulumi.Input; /** * Whether local Oracle Data Guard is enabled. */ isLocalDataGuardEnabled?: pulumi.Input; /** * Whether mutual TLS is required for database connections. */ isMtlsConnectionRequired?: pulumi.Input; /** * Whether the database is a refreshable clone. */ isRefreshableClone?: pulumi.Input; /** * ARN of the AWS KMS key used when `encryptionKeyProvider` is `AWS_KMS`. */ kmsKeyId?: pulumi.Input; /** * Oracle license model. Valid values are `BRING_YOUR_OWN_LICENSE` and `LICENSE_INCLUDED`. */ licenseModel?: pulumi.Input; /** * Maximum data-loss limit, in seconds, for automatic local Data Guard failover. */ localAdgAutoFailoverMaxDataLossLimit?: pulumi.Input; /** * Long-term backup schedule. See `longTermBackupSchedule` Block below. */ longTermBackupSchedule?: pulumi.Input; /** * National character set. Changing this value creates a new resource. */ ncharacterSet?: pulumi.Input; /** * ID of the ODB network used by the database. Changing this value creates a new resource. */ odbNetworkId?: pulumi.Input; /** * Database open mode. */ openMode?: pulumi.Input; /** * Database permission level. */ permissionLevel?: pulumi.Input; /** * Private endpoint IP address. */ privateEndpointIp?: pulumi.Input; /** * Private endpoint label. */ privateEndpointLabel?: pulumi.Input; /** * Refresh mode for a refreshable clone. */ refreshableMode?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of the resource-pool leader Autonomous Database. */ resourcePoolLeaderId?: pulumi.Input; /** * Resource pool configuration. See `resourcePoolSummary` Block below. */ resourcePoolSummary?: pulumi.Input; /** * Scheduled database start and stop times. See `scheduledOperations` Block below. */ scheduledOperations?: pulumi.Input[] | undefined>; /** * Source from which to create the database. Valid values are `NONE`, `DATABASE`, `BACKUP_FROM_ID`, `BACKUP_FROM_TIMESTAMP`, `CROSS_REGION_DATAGUARD`, `CROSS_REGION_DISASTER_RECOVERY`, and `CLONE_TO_REFRESHABLE`. Changing this value creates a new resource. */ source?: pulumi.Input; /** * Source-specific configuration used during creation. See `sourceConfiguration` Block below. Changing this value creates a new resource. */ sourceConfiguration?: pulumi.Input; /** * List of between 1 and 1024 IP addresses allowed to access the standby database. */ standbyAllowlistedIps?: pulumi.Input[] | undefined>; /** * Source of the standby allowlist. Valid values are `PRIMARY`, `SEPARATE`, and `NOT_APPLICABLE`. */ standbyAllowlistedIpsSource?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * RFC3339 timestamp at which automatic refresh begins. */ timeOfAutoRefreshStart?: pulumi.Input; timeouts?: pulumi.Input; /** * Transportable tablespace configuration. See `transportableTablespace` Block below. Changing this value creates a new resource. */ transportableTablespace?: pulumi.Input; } //# sourceMappingURL=autonomousDatabase.d.ts.map