Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
This data source provides details about a specific Oracle Db Aws Key resource in Oracle Cloud Infrastructure Dbmulticloud service.
Retrieves detailed information about a Oracle AWS Key resource by specifying its unique resource OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOracleDbAwsKey = oci.oci.getDbmulticloudOracleDbAwsKey({
oracleDbAwsKeyId: testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id,
});
import pulumi
import pulumi_oci as oci
test_oracle_db_aws_key = oci.oci.get_dbmulticloud_oracle_db_aws_key(oracle_db_aws_key_id=test_oracle_db_aws_key_oci_dbmulticloud_oracle_db_aws_key["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupDbmulticloudOracleDbAwsKey(ctx, &oci.LookupDbmulticloudOracleDbAwsKeyArgs{
OracleDbAwsKeyId: testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testOracleDbAwsKey = Oci.Oci.GetDbmulticloudOracleDbAwsKey.Invoke(new()
{
OracleDbAwsKeyId = testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetDbmulticloudOracleDbAwsKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testOracleDbAwsKey = OciFunctions.getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs.builder()
.oracleDbAwsKeyId(testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id())
.build());
}
}
variables:
testOracleDbAwsKey:
fn::invoke:
function: oci:oci:getDbmulticloudOracleDbAwsKey
arguments:
oracleDbAwsKeyId: ${testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id}
Using getDbmulticloudOracleDbAwsKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDbmulticloudOracleDbAwsKey(args: GetDbmulticloudOracleDbAwsKeyArgs, opts?: InvokeOptions): Promise<GetDbmulticloudOracleDbAwsKeyResult>
function getDbmulticloudOracleDbAwsKeyOutput(args: GetDbmulticloudOracleDbAwsKeyOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudOracleDbAwsKeyResult>def get_dbmulticloud_oracle_db_aws_key(oracle_db_aws_key_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbmulticloudOracleDbAwsKeyResult
def get_dbmulticloud_oracle_db_aws_key_output(oracle_db_aws_key_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudOracleDbAwsKeyResult]func LookupDbmulticloudOracleDbAwsKey(ctx *Context, args *LookupDbmulticloudOracleDbAwsKeyArgs, opts ...InvokeOption) (*LookupDbmulticloudOracleDbAwsKeyResult, error)
func LookupDbmulticloudOracleDbAwsKeyOutput(ctx *Context, args *LookupDbmulticloudOracleDbAwsKeyOutputArgs, opts ...InvokeOption) LookupDbmulticloudOracleDbAwsKeyResultOutput> Note: This function is named LookupDbmulticloudOracleDbAwsKey in the Go SDK.
public static class GetDbmulticloudOracleDbAwsKey
{
public static Task<GetDbmulticloudOracleDbAwsKeyResult> InvokeAsync(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions? opts = null)
public static Output<GetDbmulticloudOracleDbAwsKeyResult> Invoke(GetDbmulticloudOracleDbAwsKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbmulticloudOracleDbAwsKeyResult> getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions options)
public static Output<GetDbmulticloudOracleDbAwsKeyResult> getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDbmulticloudOracleDbAwsKey:getDbmulticloudOracleDbAwsKey
arguments:
# arguments dictionaryThe following arguments are supported:
- Oracle
Db stringAws Key Id - The OCID of the Oracle DB AWS Key resource.
- Oracle
Db stringAws Key Id - The OCID of the Oracle DB AWS Key resource.
- oracle
Db StringAws Key Id - The OCID of the Oracle DB AWS Key resource.
- oracle
Db stringAws Key Id - The OCID of the Oracle DB AWS Key resource.
- oracle_
db_ straws_ key_ id - The OCID of the Oracle DB AWS Key resource.
- oracle
Db StringAws Key Id - The OCID of the Oracle DB AWS Key resource.
getDbmulticloudOracleDbAwsKey Result
The following output properties are available:
- Aws
Account stringId - AWS Account ID.
- Aws
Key stringArn - Amazon resource name of AWS Key.
- Compartment
Id string - The Compartment OCID that contains this Oracle DB AWS Key resource.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - Oracle DB AWS Key Ring resource name.
- Dictionary<string, string>
- 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. Example:
{"Department": "Finance"} - Id string
- The OCID of the DB AWS Key Ring resource.
- Is
Aws boolKey Enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Location string
- AWS Key resource location.
- Oracle
Db stringAws Key Id - Oracle
Db stringConnector Id - The OCID of the Oracle DB Connector resource.
- Properties Dictionary<string, string>
- AWS Key resource's properties.
- State string
- The lifecycle state of the Oracle DB AWS Key resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- Time
Updated string - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- Type string
- Key resource type.
- Aws
Account stringId - AWS Account ID.
- Aws
Key stringArn - Amazon resource name of AWS Key.
- Compartment
Id string - The Compartment OCID that contains this Oracle DB AWS Key resource.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - Oracle DB AWS Key Ring resource name.
- map[string]string
- 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. Example:
{"Department": "Finance"} - Id string
- The OCID of the DB AWS Key Ring resource.
- Is
Aws boolKey Enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- Lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- Location string
- AWS Key resource location.
- Oracle
Db stringAws Key Id - Oracle
Db stringConnector Id - The OCID of the Oracle DB Connector resource.
- Properties map[string]string
- AWS Key resource's properties.
- State string
- The lifecycle state of the Oracle DB AWS Key resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- Time
Updated string - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- Type string
- Key resource type.
- aws
Account StringId - AWS Account ID.
- aws
Key StringArn - Amazon resource name of AWS Key.
- compartment
Id String - The Compartment OCID that contains this Oracle DB AWS Key resource.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - Oracle DB AWS Key Ring resource name.
- Map<String,String>
- 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. Example:
{"Department": "Finance"} - id String
- The OCID of the DB AWS Key Ring resource.
- is
Aws BooleanKey Enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- location String
- AWS Key resource location.
- oracle
Db StringAws Key Id - oracle
Db StringConnector Id - The OCID of the Oracle DB Connector resource.
- properties Map<String,String>
- AWS Key resource's properties.
- state String
- The lifecycle state of the Oracle DB AWS Key resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- time
Updated String - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- type String
- Key resource type.
- aws
Account stringId - AWS Account ID.
- aws
Key stringArn - Amazon resource name of AWS Key.
- compartment
Id string - The Compartment OCID that contains this Oracle DB AWS Key resource.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - Oracle DB AWS Key Ring resource name.
- {[key: string]: string}
- 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. Example:
{"Department": "Finance"} - id string
- The OCID of the DB AWS Key Ring resource.
- is
Aws booleanKey Enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- lifecycle
State stringDetails - Description of the current lifecycle state in more detail.
- location string
- AWS Key resource location.
- oracle
Db stringAws Key Id - oracle
Db stringConnector Id - The OCID of the Oracle DB Connector resource.
- properties {[key: string]: string}
- AWS Key resource's properties.
- state string
- The lifecycle state of the Oracle DB AWS Key resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- time
Updated string - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- type string
- Key resource type.
- aws_
account_ strid - AWS Account ID.
- aws_
key_ strarn - Amazon resource name of AWS Key.
- compartment_
id str - The Compartment OCID that contains this Oracle DB AWS Key resource.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - Oracle DB AWS Key Ring resource name.
- Mapping[str, str]
- 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. Example:
{"Department": "Finance"} - id str
- The OCID of the DB AWS Key Ring resource.
- is_
aws_ boolkey_ enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- lifecycle_
state_ strdetails - Description of the current lifecycle state in more detail.
- location str
- AWS Key resource location.
- oracle_
db_ straws_ key_ id - oracle_
db_ strconnector_ id - The OCID of the Oracle DB Connector resource.
- properties Mapping[str, str]
- AWS Key resource's properties.
- state str
- The lifecycle state of the Oracle DB AWS Key resource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- time_
updated str - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- type str
- Key resource type.
- aws
Account StringId - AWS Account ID.
- aws
Key StringArn - Amazon resource name of AWS Key.
- compartment
Id String - The Compartment OCID that contains this Oracle DB AWS Key resource.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - Oracle DB AWS Key Ring resource name.
- Map<String>
- 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. Example:
{"Department": "Finance"} - id String
- The OCID of the DB AWS Key Ring resource.
- is
Aws BooleanKey Enabled - The Oracle AWS Key resource is enabled or disabled at AWS.
- lifecycle
State StringDetails - Description of the current lifecycle state in more detail.
- location String
- AWS Key resource location.
- oracle
Db StringAws Key Id - oracle
Db StringConnector Id - The OCID of the Oracle DB Connector resource.
- properties Map<String>
- AWS Key resource's properties.
- state String
- The lifecycle state of the Oracle DB AWS Key resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- time
Updated String - Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
- type String
- Key resource type.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
