1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getDbmulticloudOracleDbAwsKey
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
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 dictionary

    The following arguments are supported:

    OracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    OracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId String
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    oracle_db_aws_key_id str
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId String
    The OCID of the Oracle DB AWS Key resource.

    getDbmulticloudOracleDbAwsKey Result

    The following output properties are available:

    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    DefinedTags 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"}
    DisplayName string
    Oracle DB AWS Key Ring resource name.
    FreeformTags 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.
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    AWS Key resource location.
    OracleDbAwsKeyId string
    OracleDbConnectorId string
    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.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated 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.
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    DefinedTags 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"}
    DisplayName string
    Oracle DB AWS Key Ring resource name.
    FreeformTags 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.
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    AWS Key resource location.
    OracleDbAwsKeyId string
    OracleDbConnectorId string
    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.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated 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.
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags 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"}
    displayName String
    Oracle DB AWS Key Ring resource name.
    freeformTags 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.
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    AWS Key resource location.
    oracleDbAwsKeyId String
    oracleDbConnectorId String
    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.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated 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.
    awsAccountId string
    AWS Account ID.
    awsKeyArn string
    Amazon resource name of AWS Key.
    compartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags {[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"}
    displayName string
    Oracle DB AWS Key Ring resource name.
    freeformTags {[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.
    isAwsKeyEnabled boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    location string
    AWS Key resource location.
    oracleDbAwsKeyId string
    oracleDbConnectorId string
    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.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated 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_id str
    AWS Account ID.
    aws_key_arn str
    Amazon resource name of AWS Key.
    compartment_id str
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    defined_tags 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.
    freeform_tags 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_key_enabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    location str
    AWS Key resource location.
    oracle_db_aws_key_id str
    oracle_db_connector_id str
    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.
    system_tags 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.
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags 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"}
    displayName String
    Oracle DB AWS Key Ring resource name.
    freeformTags 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.
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    AWS Key resource location.
    oracleDbAwsKeyId String
    oracleDbConnectorId String
    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.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate