# CredentialProperty

The credentials of your SAP application.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_systemsmanagersap as systemsmanagersap } from 'aws-cdk-lib';
const credentialProperty: systemsmanagersap.CfnApplication.CredentialProperty = {
  credentialType: 'credentialType',
  databaseName: 'databaseName',
  secretId: 'secretId',
};
```

Python:

```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_systemsmanagersap as systemsmanagersap

credential_property = systemsmanagersap.CfnApplication.CredentialProperty(
    credential_type="credentialType",
    database_name="databaseName",
    secret_id="secretId"
)
```

Java:

```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.systemsmanagersap.*;

CredentialProperty credentialProperty = CredentialProperty.builder()
        .credentialType("credentialType")
        .databaseName("databaseName")
        .secretId("secretId")
        .build();
```

C# / .NET:

```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.SystemsManagerSAP;

var credentialProperty = new CredentialProperty {
    CredentialType = "credentialType",
    DatabaseName = "databaseName",
    SecretId = "secretId"
};
```

Golang:

```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"

credentialProperty := &CredentialProperty{
	CredentialType: jsii.String("credentialType"),
	DatabaseName: jsii.String("databaseName"),
	SecretId: jsii.String("secretId"),
}
```

## Properties

- `credentialType`: string — The type of the application credentials.

- `databaseName`: string — The name of the SAP HANA database.

- `secretId`: string — The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
