aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.config
Functions
|
Converts the provided Dafny shape for this localService's config into the corresponding Smithy-modelled shape. |
|
Converts the provided Smithy-modelled shape for this localService's config into the corresponding Dafny shape. |
Classes
|
Configuration for KeyStore. |
|
Constructor for KeyStoreConfig. |
- class aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.config.Config(*, interceptors: list[Any] | None = None, retry_strategy: RetryStrategy | None = None, dafnyImplInterface: DafnyImplInterface | None = None)
Bases:
objectConfiguration for KeyStore.
Constructor.
- Parameters:
interceptors – The list of interceptors, which are hooks that are called during the execution of a request.
retry_strategy – The retry strategy for issuing retry tokens and computing retry delays.
dafnyImplInterface
- __init__(*, interceptors: list[Any] | None = None, retry_strategy: RetryStrategy | None = None, dafnyImplInterface: DafnyImplInterface | None = None)
Constructor.
- Parameters:
interceptors – The list of interceptors, which are hooks that are called during the execution of a request.
retry_strategy – The retry strategy for issuing retry tokens and computing retry delays.
dafnyImplInterface
- retry_strategy: RetryStrategy
- class aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.config.KeyStoreConfig(*, ddb_table_name: str, kms_configuration: KMSConfigurationKmsKeyArn | KMSConfigurationKmsMRKeyArn | KMSConfigurationDiscovery | KMSConfigurationMrDiscovery | KMSConfigurationUnknown, logical_key_store_name: str, id: str | None = None, grant_tokens: list[str] | None = None, ddb_client: BaseClient | None = None, kms_client: BaseClient | None = None)
Bases:
ConfigConstructor for KeyStoreConfig.
- Parameters:
ddb_table_name – The DynamoDB table name that backs this Key Store.
kms_configuration – Configures Key Store’s KMS Key ARN restrictions.
logical_key_store_name – The logical name for this Key Store, which is
cryptographically bound to the keys it holds. This appears in the Encryption Context of KMS requests as tablename. :param id: An identifier for this Key Store. :param grant_tokens: The AWS KMS grant tokens that are used when this Key Store calls to AWS KMS. :param ddb_client: The DynamoDB client this Key Store uses to call Amazon DynamoDB. If None is provided and the KMS ARN is, the KMS ARN is used to determine the Region of the default client. :param kms_client: The KMS client this Key Store uses to call AWS KMS. If None is provided and the KMS ARN is, the KMS ARN is used to determine the Region of the default client.
- __init__(*, ddb_table_name: str, kms_configuration: KMSConfigurationKmsKeyArn | KMSConfigurationKmsMRKeyArn | KMSConfigurationDiscovery | KMSConfigurationMrDiscovery | KMSConfigurationUnknown, logical_key_store_name: str, id: str | None = None, grant_tokens: list[str] | None = None, ddb_client: BaseClient | None = None, kms_client: BaseClient | None = None)
Constructor for KeyStoreConfig.
- Parameters:
ddb_table_name – The DynamoDB table name that backs this Key Store.
kms_configuration – Configures Key Store’s KMS Key ARN restrictions.
logical_key_store_name – The logical name for this Key Store, which is
cryptographically bound to the keys it holds. This appears in the Encryption Context of KMS requests as tablename. :param id: An identifier for this Key Store. :param grant_tokens: The AWS KMS grant tokens that are used when this Key Store calls to AWS KMS. :param ddb_client: The DynamoDB client this Key Store uses to call Amazon DynamoDB. If None is provided and the KMS ARN is, the KMS ARN is used to determine the Region of the default client. :param kms_client: The KMS client this Key Store uses to call AWS KMS. If None is provided and the KMS ARN is, the KMS ARN is used to determine the Region of the default client.
- kms_configuration: KMSConfigurationKmsKeyArn | KMSConfigurationKmsMRKeyArn | KMSConfigurationDiscovery | KMSConfigurationMrDiscovery | KMSConfigurationUnknown
- static from_dict(d: Dict[str, Any]) KeyStoreConfig
Creates a KeyStoreConfig from a dictionary.
- aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.config.dafny_config_to_smithy_config(dafny_config) KeyStoreConfig
Converts the provided Dafny shape for this localService’s config into the corresponding Smithy-modelled shape.
- aws_cryptographic_material_providers.smithygenerated.aws_cryptography_keystore.config.smithy_config_to_dafny_config(smithy_config) KeyStoreConfig_KeyStoreConfig
Converts the provided Smithy-modelled shape for this localService’s config into the corresponding Dafny shape.