1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. DbmulticloudOracleDbAwsKey
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

    Example Usage

    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,
        location: oracleDbAwsKeyLocation,
        properties: oracleDbAwsKeyProperties,
        type: oracleDbAwsKeyType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oracle_db_aws_key = oci.oci.DbmulticloudOracleDbAwsKey("test_oracle_db_aws_key",
        compartment_id=compartment_id,
        display_name=oracle_db_aws_key_display_name,
        oracle_db_connector_id=test_oracle_db_connector["id"],
        aws_account_id=test_aws_account["id"],
        aws_key_arn=oracle_db_aws_key_aws_key_arn,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        is_aws_key_enabled=oracle_db_aws_key_is_aws_key_enabled,
        location=oracle_db_aws_key_location,
        properties=oracle_db_aws_key_properties,
        type=oracle_db_aws_key_type)
    
    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.NewDbmulticloudOracleDbAwsKey(ctx, "test_oracle_db_aws_key", &oci.DbmulticloudOracleDbAwsKeyArgs{
    			CompartmentId:       pulumi.Any(compartmentId),
    			DisplayName:         pulumi.Any(oracleDbAwsKeyDisplayName),
    			OracleDbConnectorId: pulumi.Any(testOracleDbConnector.Id),
    			AwsAccountId:        pulumi.Any(testAwsAccount.Id),
    			AwsKeyArn:           pulumi.Any(oracleDbAwsKeyAwsKeyArn),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			IsAwsKeyEnabled: pulumi.Any(oracleDbAwsKeyIsAwsKeyEnabled),
    			Location:        pulumi.Any(oracleDbAwsKeyLocation),
    			Properties:      pulumi.Any(oracleDbAwsKeyProperties),
    			Type:            pulumi.Any(oracleDbAwsKeyType),
    		})
    		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 = new Oci.Oci.DbmulticloudOracleDbAwsKey("test_oracle_db_aws_key", new()
        {
            CompartmentId = compartmentId,
            DisplayName = oracleDbAwsKeyDisplayName,
            OracleDbConnectorId = testOracleDbConnector.Id,
            AwsAccountId = testAwsAccount.Id,
            AwsKeyArn = oracleDbAwsKeyAwsKeyArn,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsAwsKeyEnabled = oracleDbAwsKeyIsAwsKeyEnabled,
            Location = oracleDbAwsKeyLocation,
            Properties = oracleDbAwsKeyProperties,
            Type = oracleDbAwsKeyType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.DbmulticloudOracleDbAwsKey;
    import com.pulumi.oci.oci.DbmulticloudOracleDbAwsKeyArgs;
    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) {
            var testOracleDbAwsKey = new DbmulticloudOracleDbAwsKey("testOracleDbAwsKey", DbmulticloudOracleDbAwsKeyArgs.builder()
                .compartmentId(compartmentId)
                .displayName(oracleDbAwsKeyDisplayName)
                .oracleDbConnectorId(testOracleDbConnector.id())
                .awsAccountId(testAwsAccount.id())
                .awsKeyArn(oracleDbAwsKeyAwsKeyArn)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .isAwsKeyEnabled(oracleDbAwsKeyIsAwsKeyEnabled)
                .location(oracleDbAwsKeyLocation)
                .properties(oracleDbAwsKeyProperties)
                .type(oracleDbAwsKeyType)
                .build());
    
        }
    }
    
    resources:
      testOracleDbAwsKey:
        type: oci:oci:DbmulticloudOracleDbAwsKey
        name: test_oracle_db_aws_key
        properties:
          compartmentId: ${compartmentId}
          displayName: ${oracleDbAwsKeyDisplayName}
          oracleDbConnectorId: ${testOracleDbConnector.id}
          awsAccountId: ${testAwsAccount.id}
          awsKeyArn: ${oracleDbAwsKeyAwsKeyArn}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          isAwsKeyEnabled: ${oracleDbAwsKeyIsAwsKeyEnabled}
          location: ${oracleDbAwsKeyLocation}
          properties: ${oracleDbAwsKeyProperties}
          type: ${oracleDbAwsKeyType}
    

    Create DbmulticloudOracleDbAwsKey Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbmulticloudOracleDbAwsKey(name: string, args: DbmulticloudOracleDbAwsKeyArgs, opts?: CustomResourceOptions);
    @overload
    def DbmulticloudOracleDbAwsKey(resource_name: str,
                                   args: DbmulticloudOracleDbAwsKeyArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbmulticloudOracleDbAwsKey(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   compartment_id: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   oracle_db_connector_id: Optional[str] = None,
                                   aws_account_id: Optional[str] = None,
                                   aws_key_arn: Optional[str] = None,
                                   defined_tags: Optional[Mapping[str, str]] = None,
                                   freeform_tags: Optional[Mapping[str, str]] = None,
                                   is_aws_key_enabled: Optional[bool] = None,
                                   location: Optional[str] = None,
                                   properties: Optional[Mapping[str, str]] = None,
                                   type: Optional[str] = None)
    func NewDbmulticloudOracleDbAwsKey(ctx *Context, name string, args DbmulticloudOracleDbAwsKeyArgs, opts ...ResourceOption) (*DbmulticloudOracleDbAwsKey, error)
    public DbmulticloudOracleDbAwsKey(string name, DbmulticloudOracleDbAwsKeyArgs args, CustomResourceOptions? opts = null)
    public DbmulticloudOracleDbAwsKey(String name, DbmulticloudOracleDbAwsKeyArgs args)
    public DbmulticloudOracleDbAwsKey(String name, DbmulticloudOracleDbAwsKeyArgs args, CustomResourceOptions options)
    
    type: oci:oci:DbmulticloudOracleDbAwsKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DbmulticloudOracleDbAwsKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DbmulticloudOracleDbAwsKeyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DbmulticloudOracleDbAwsKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbmulticloudOracleDbAwsKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbmulticloudOracleDbAwsKeyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dbmulticloudOracleDbAwsKeyResource = new Oci.Oci.DbmulticloudOracleDbAwsKey("dbmulticloudOracleDbAwsKeyResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        OracleDbConnectorId = "string",
        AwsAccountId = "string",
        AwsKeyArn = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsAwsKeyEnabled = false,
        Location = "string",
        Properties = 
        {
            { "string", "string" },
        },
        Type = "string",
    });
    
    example, err := oci.NewDbmulticloudOracleDbAwsKey(ctx, "dbmulticloudOracleDbAwsKeyResource", &oci.DbmulticloudOracleDbAwsKeyArgs{
    	CompartmentId:       pulumi.String("string"),
    	DisplayName:         pulumi.String("string"),
    	OracleDbConnectorId: pulumi.String("string"),
    	AwsAccountId:        pulumi.String("string"),
    	AwsKeyArn:           pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsAwsKeyEnabled: pulumi.Bool(false),
    	Location:        pulumi.String("string"),
    	Properties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var dbmulticloudOracleDbAwsKeyResource = new DbmulticloudOracleDbAwsKey("dbmulticloudOracleDbAwsKeyResource", DbmulticloudOracleDbAwsKeyArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .oracleDbConnectorId("string")
        .awsAccountId("string")
        .awsKeyArn("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .isAwsKeyEnabled(false)
        .location("string")
        .properties(Map.of("string", "string"))
        .type("string")
        .build());
    
    dbmulticloud_oracle_db_aws_key_resource = oci.oci.DbmulticloudOracleDbAwsKey("dbmulticloudOracleDbAwsKeyResource",
        compartment_id="string",
        display_name="string",
        oracle_db_connector_id="string",
        aws_account_id="string",
        aws_key_arn="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        is_aws_key_enabled=False,
        location="string",
        properties={
            "string": "string",
        },
        type="string")
    
    const dbmulticloudOracleDbAwsKeyResource = new oci.oci.DbmulticloudOracleDbAwsKey("dbmulticloudOracleDbAwsKeyResource", {
        compartmentId: "string",
        displayName: "string",
        oracleDbConnectorId: "string",
        awsAccountId: "string",
        awsKeyArn: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        isAwsKeyEnabled: false,
        location: "string",
        properties: {
            string: "string",
        },
        type: "string",
    });
    
    type: oci:oci:DbmulticloudOracleDbAwsKey
    properties:
        awsAccountId: string
        awsKeyArn: string
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        isAwsKeyEnabled: false
        location: string
        oracleDbConnectorId: string
        properties:
            string: string
        type: string
    

    DbmulticloudOracleDbAwsKey Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DbmulticloudOracleDbAwsKey resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    DisplayName string
    (Updatable) Oracle DB AWS Key resource name.
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>
    (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. Example: {"Department": "Finance"}
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    Location string
    AWS Key resource Location.
    Properties Dictionary<string, string>
    AWS Key resource's properties.
    Type string

    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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    DisplayName string
    (Updatable) Oracle DB AWS Key resource name.
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string
    (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. Example: {"Department": "Finance"}
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    Location string
    AWS Key resource Location.
    Properties map[string]string
    AWS Key resource's properties.
    Type string

    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

    compartmentId String
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    displayName String
    (Updatable) Oracle DB AWS Key resource name.
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector resource.
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>
    (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. Example: {"Department": "Finance"}
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    location String
    AWS Key resource Location.
    properties Map<String,String>
    AWS Key resource's properties.
    type String

    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

    compartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    displayName string
    (Updatable) Oracle DB AWS Key resource name.
    oracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    awsAccountId string
    AWS Account ID.
    awsKeyArn string
    Amazon resource name of AWS Key.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}
    (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. Example: {"Department": "Finance"}
    isAwsKeyEnabled boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    location string
    AWS Key resource Location.
    properties {[key: string]: string}
    AWS Key resource's properties.
    type string

    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

    compartment_id str
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    display_name str
    (Updatable) Oracle DB AWS Key resource name.
    oracle_db_connector_id str
    The OCID of the Oracle DB Connector resource.
    aws_account_id str
    AWS Account ID.
    aws_key_arn str
    Amazon resource name of AWS Key.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]
    (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. Example: {"Department": "Finance"}
    is_aws_key_enabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    location str
    AWS Key resource Location.
    properties Mapping[str, str]
    AWS Key resource's properties.
    type str

    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

    compartmentId String
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    displayName String
    (Updatable) Oracle DB AWS Key resource name.
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector resource.
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>
    (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. Example: {"Department": "Finance"}
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    location String
    AWS Key resource Location.
    properties Map<String>
    AWS Key resource's properties.
    type String

    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbmulticloudOracleDbAwsKey resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    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'.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    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'.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    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'.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    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'.

    Look up Existing DbmulticloudOracleDbAwsKey Resource

    Get an existing DbmulticloudOracleDbAwsKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DbmulticloudOracleDbAwsKeyState, opts?: CustomResourceOptions): DbmulticloudOracleDbAwsKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws_account_id: Optional[str] = None,
            aws_key_arn: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_aws_key_enabled: Optional[bool] = None,
            lifecycle_state_details: Optional[str] = None,
            location: Optional[str] = None,
            oracle_db_connector_id: Optional[str] = None,
            properties: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> DbmulticloudOracleDbAwsKey
    func GetDbmulticloudOracleDbAwsKey(ctx *Context, name string, id IDInput, state *DbmulticloudOracleDbAwsKeyState, opts ...ResourceOption) (*DbmulticloudOracleDbAwsKey, error)
    public static DbmulticloudOracleDbAwsKey Get(string name, Input<string> id, DbmulticloudOracleDbAwsKeyState? state, CustomResourceOptions? opts = null)
    public static DbmulticloudOracleDbAwsKey get(String name, Output<String> id, DbmulticloudOracleDbAwsKeyState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:DbmulticloudOracleDbAwsKey    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    FreeformTags Dictionary<string, string>
    (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. Example: {"Department": "Finance"}
    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.
    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

    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

    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    FreeformTags map[string]string
    (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. Example: {"Department": "Finance"}
    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.
    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

    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

    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    freeformTags Map<String,String>
    (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. Example: {"Department": "Finance"}
    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.
    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

    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

    awsAccountId string
    AWS Account ID.
    awsKeyArn string
    Amazon resource name of AWS Key.
    compartmentId string
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    freeformTags {[key: string]: string}
    (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. Example: {"Department": "Finance"}
    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.
    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

    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

    aws_account_id str
    AWS Account ID.
    aws_key_arn str
    Amazon resource name of AWS Key.
    compartment_id str
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    freeform_tags Mapping[str, str]
    (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. Example: {"Department": "Finance"}
    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_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

    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

    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    (Updatable) The OCID of the compartment that contains Oracle DB AWS Key resource.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) Oracle DB AWS Key resource name.
    freeformTags Map<String>
    (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. Example: {"Department": "Finance"}
    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.
    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

    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

    Import

    OracleDbAwsKeys can be imported using the id, e.g.

    $ pulumi import oci:oci/dbmulticloudOracleDbAwsKey:DbmulticloudOracleDbAwsKey test_oracle_db_aws_key "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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