CfnApiKeyCredentialProviderMixinProps
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnApiKeyCredentialProviderMixinProps(*, api_key=None, api_key_secret_config=None, api_key_secret_source=None, name=None, tags=None)
Bases:
objectProperties for CfnApiKeyCredentialProviderPropsMixin.
- Parameters:
api_key (
Optional[str]) – The API key to use for authentication.api_key_secret_config (
Union[IResolvable,SecretReferenceProperty,Dict[str,Any],None]) – A reference to a customer-provided secret stored in AWS Secrets Manager.api_key_secret_source (
Optional[str]) – The source of the API key secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.name (
Optional[str]) – The name of the API key credential provider.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Tags to assign to the API key credential provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore cfn_api_key_credential_provider_mixin_props = bedrockagentcore.CfnApiKeyCredentialProviderMixinProps( api_key="apiKey", api_key_secret_config=bedrockagentcore.CfnApiKeyCredentialProviderPropsMixin.SecretReferenceProperty( json_key="jsonKey", secret_id="secretId" ), api_key_secret_source="apiKeySecretSource", name="name", tags=[CfnTag( key="key", value="value" )] )
Attributes
- api_key
The API key to use for authentication.
- api_key_secret_config
A reference to a customer-provided secret stored in AWS Secrets Manager.
- api_key_secret_source
The source of the API key secret.
Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.
- name
The name of the API key credential provider.
- tags
Tags to assign to the API key credential provider.