ApiKeyCredentialProviderProperty Struct
The API key credential provider for the gateway target.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const apiKeyCredentialProviderProperty: bedrockagentcore.CfnGatewayTarget.ApiKeyCredentialProviderProperty = {
providerArn: 'providerArn',
// the properties below are optional
credentialLocation: 'credentialLocation',
credentialParameterName: 'credentialParameterName',
credentialPrefix: 'credentialPrefix',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
api_key_credential_provider_property = bedrockagentcore.CfnGatewayTarget.ApiKeyCredentialProviderProperty(
provider_arn="providerArn",
# the properties below are optional
credential_location="credentialLocation",
credential_parameter_name="credentialParameterName",
credential_prefix="credentialPrefix"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
ApiKeyCredentialProviderProperty apiKeyCredentialProviderProperty = ApiKeyCredentialProviderProperty.builder()
.providerArn("providerArn")
// the properties below are optional
.credentialLocation("credentialLocation")
.credentialParameterName("credentialParameterName")
.credentialPrefix("credentialPrefix")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var apiKeyCredentialProviderProperty = new ApiKeyCredentialProviderProperty {
ProviderArn = "providerArn",
// the properties below are optional
CredentialLocation = "credentialLocation",
CredentialParameterName = "credentialParameterName",
CredentialPrefix = "credentialPrefix"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
apiKeyCredentialProviderProperty := &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
}
Properties
credentialLocationoptionalstringcredential_locationoptionalstrcredentialLocationoptionalStringCredentialLocationoptionalstringCredentialLocationoptional*string #The credential location for the gateway target.
credentialParameterNameoptionalstringcredential_parameter_nameoptionalstrcredentialParameterNameoptionalStringCredentialParameterNameoptionalstringCredentialParameterNameoptional*string #The credential parameter name for the provider for the gateway target.
credentialPrefixoptionalstringcredential_prefixoptionalstrcredentialPrefixoptionalStringCredentialPrefixoptionalstringCredentialPrefixoptional*string #The API key credential provider for the gateway target.
The provider ARN for the gateway target.