aws-cdk-lib.aws_events.CfnConnection.BasicAuthParametersProperty

interface BasicAuthParametersProperty

LanguageType name
.NETAmazon.CDK.AWS.Events.CfnConnection.BasicAuthParametersProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnConnection_BasicAuthParametersProperty
Javasoftware.amazon.awscdk.services.events.CfnConnection.BasicAuthParametersProperty
Pythonaws_cdk.aws_events.CfnConnection.BasicAuthParametersProperty
TypeScript aws-cdk-lib » aws_events » CfnConnection » BasicAuthParametersProperty

Contains the Basic authorization parameters for the connection.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const basicAuthParametersProperty: events.CfnConnection.BasicAuthParametersProperty = {
  password: 'password',
  username: 'username',
};

Properties

NameTypeDescription
passwordstringThe password associated with the user name to use for Basic authorization.
usernamestringThe user name to use for Basic authorization.

password

Type: string

The password associated with the user name to use for Basic authorization.


username

Type: string

The user name to use for Basic authorization.