BasicAuthConfigurationProperty Struct
Information about the basic authentication credentials used to configure a plugin.
| 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_qbusiness as qbusiness } from 'aws-cdk-lib';
const basicAuthConfigurationProperty: qbusiness.CfnPlugin.BasicAuthConfigurationProperty = {
roleArn: 'roleArn',
secretArn: 'secretArn',
};
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_qbusiness as qbusiness
basic_auth_configuration_property = qbusiness.CfnPlugin.BasicAuthConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
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.qbusiness.*;
BasicAuthConfigurationProperty basicAuthConfigurationProperty = BasicAuthConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.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.QBusiness;
var basicAuthConfigurationProperty = new BasicAuthConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
};
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"
basicAuthConfigurationProperty := &BasicAuthConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
}
Properties
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..