AwsKeyDetails

class oci.database.models.AwsKeyDetails(**kwargs)

Bases: AutonomousDatabaseEncryptionKeyDetails

Details for AWS encryption key.

Attributes:

PROVIDER_AWS

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_AZURE

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OCI

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OKV

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_ORACLE_MANAGED

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

arn_role

Gets the arn_role of this AwsKeyDetails.

external_id

Gets the external_id of this AwsKeyDetails.

key_arn

[Required] Gets the key_arn of this AwsKeyDetails.

provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails.

service_endpoint_uri

[Required] Gets the service_endpoint_uri of this AwsKeyDetails.

Methods:

__init__(**kwargs)

Initializes a new AwsKeyDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

PROVIDER_AWS = 'AWS'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AWS”

PROVIDER_AZURE = 'AZURE'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AZURE”

PROVIDER_OCI = 'OCI'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OCI”

PROVIDER_OKV = 'OKV'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OKV”

PROVIDER_ORACLE_MANAGED = 'ORACLE_MANAGED'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “ORACLE_MANAGED”

__init__(**kwargs)

Initializes a new AwsKeyDetails object with values from keyword arguments. The default value of the provider attribute of this class is AWS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • provider (str) – The value to assign to the provider property of this AwsKeyDetails. Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”

  • service_endpoint_uri (str) – The value to assign to the service_endpoint_uri property of this AwsKeyDetails.

  • key_arn (str) – The value to assign to the key_arn property of this AwsKeyDetails.

  • arn_role (str) – The value to assign to the arn_role property of this AwsKeyDetails.

  • external_id (str) – The value to assign to the external_id property of this AwsKeyDetails.

property arn_role

Gets the arn_role of this AwsKeyDetails. AWS ARN role

Returns

The arn_role of this AwsKeyDetails.

Return type

str

property external_id

Gets the external_id of this AwsKeyDetails. AWS external ID

Returns

The external_id of this AwsKeyDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property key_arn

[Required] Gets the key_arn of this AwsKeyDetails. AWS key ARN

Returns

The key_arn of this AwsKeyDetails.

Return type

str

property provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. The provider for the Autonomous AI Database encryption key.

Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The provider of this AutonomousDatabaseEncryptionKeyDetails.

Return type

str

property service_endpoint_uri

[Required] Gets the service_endpoint_uri of this AwsKeyDetails. AWS key service endpoint URI

Returns

The service_endpoint_uri of this AwsKeyDetails.

Return type

str