import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Oracle Db Aws Key resource in Oracle Cloud Infrastructure Dbmulticloud service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-multicloud-integrations/latest/OracleDbAwsKey * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dbmulticloud * * Create DB AWS Key resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOracleDbAwsKey = new oci.oci.DbmulticloudOracleDbAwsKey("test_oracle_db_aws_key", { * compartmentId: compartmentId, * displayName: oracleDbAwsKeyDisplayName, * oracleDbConnectorId: testOracleDbConnector.id, * awsAccountId: testAwsAccount.id, * awsKeyArn: oracleDbAwsKeyAwsKeyArn, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * isAwsKeyEnabled: oracleDbAwsKeyIsAwsKeyEnabled === "true", * location: oracleDbAwsKeyLocation, * properties: oracleDbAwsKeyProperties, * type: oracleDbAwsKeyType, * }); * ``` * * ## Import * * OracleDbAwsKeys can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/dbmulticloudOracleDbAwsKey:DbmulticloudOracleDbAwsKey test_oracle_db_aws_key "id" * ``` */ export declare class DbmulticloudOracleDbAwsKey extends pulumi.CustomResource { /** * Get an existing DbmulticloudOracleDbAwsKey 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?: DbmulticloudOracleDbAwsKeyState, opts?: pulumi.CustomResourceOptions): DbmulticloudOracleDbAwsKey; /** * Returns true if the given object is an instance of DbmulticloudOracleDbAwsKey. 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 DbmulticloudOracleDbAwsKey; readonly action: pulumi.Output; /** * AWS Account ID. */ readonly awsAccountId: pulumi.Output; /** * Amazon resource name of AWS Key. */ readonly awsKeyArn: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Key resource. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Oracle DB AWS Key resource name. */ readonly displayName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The Oracle AWS Key resource is enabled or disabled at AWS. */ readonly isAwsKeyEnabled: pulumi.Output; /** * Description of the current lifecycle state in more detail. */ readonly lifecycleStateDetails: pulumi.Output; /** * AWS Key resource Location. */ readonly location: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. */ readonly oracleDbConnectorId: pulumi.Output; /** * AWS Key resource's properties. */ readonly properties: pulumi.Output<{ [key: string]: string; }>; /** * Replication metadata, it has information about replication and target region. */ readonly replicationMetadatas: pulumi.Output; /** * The lifecycle state of the Oracle DB AWS Key resource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The target region, where resource is replicated. */ readonly targetRegion: pulumi.Output; /** * Time when the DB AWS Key resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. */ readonly timeCreated: pulumi.Output; /** * Time when the DB AWS Key resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. */ readonly timeUpdated: pulumi.Output; /** * AWS Key resource type. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly type: pulumi.Output; /** * Create a DbmulticloudOracleDbAwsKey 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: DbmulticloudOracleDbAwsKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DbmulticloudOracleDbAwsKey resources. */ export interface DbmulticloudOracleDbAwsKeyState { action?: pulumi.Input; /** * AWS Account ID. */ awsAccountId?: pulumi.Input; /** * Amazon resource name of AWS Key. */ awsKeyArn?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Key resource. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Oracle DB AWS Key resource name. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The Oracle AWS Key resource is enabled or disabled at AWS. */ isAwsKeyEnabled?: pulumi.Input; /** * Description of the current lifecycle state in more detail. */ lifecycleStateDetails?: pulumi.Input; /** * AWS Key resource Location. */ location?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. */ oracleDbConnectorId?: pulumi.Input; /** * AWS Key resource's properties. */ properties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Replication metadata, it has information about replication and target region. */ replicationMetadatas?: pulumi.Input[] | undefined>; /** * The lifecycle state of the Oracle DB AWS Key resource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The target region, where resource is replicated. */ targetRegion?: pulumi.Input; /** * Time when the DB AWS Key resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. */ timeCreated?: pulumi.Input; /** * Time when the DB AWS Key resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. */ timeUpdated?: pulumi.Input; /** * AWS Key resource type. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ type?: pulumi.Input; } /** * The set of arguments for constructing a DbmulticloudOracleDbAwsKey resource. */ export interface DbmulticloudOracleDbAwsKeyArgs { action?: pulumi.Input; /** * AWS Account ID. */ awsAccountId?: pulumi.Input; /** * Amazon resource name of AWS Key. */ awsKeyArn?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Key resource. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Oracle DB AWS Key resource name. */ displayName: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The Oracle AWS Key resource is enabled or disabled at AWS. */ isAwsKeyEnabled?: pulumi.Input; /** * AWS Key resource Location. */ location?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. */ oracleDbConnectorId: pulumi.Input; /** * AWS Key resource's properties. */ properties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The target region, where resource is replicated. */ targetRegion?: pulumi.Input; /** * AWS Key resource type. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ type?: pulumi.Input; } //# sourceMappingURL=dbmulticloudOracleDbAwsKey.d.ts.map