Skip to content
v2.278.0

CredentialProperty Struct ​

The credentials of your SAP application.

Example ​

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
# 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
// 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();
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"
};
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 ​

credentialTypeoptionalstringcredential_typeoptionalstrcredentialTypeoptionalStringCredentialTypeoptionalstringCredentialTypeoptional*string #
The type of the application credentials.
databaseNameoptionalstringdatabase_nameoptionalstrdatabaseNameoptionalStringDatabaseNameoptionalstringDatabaseNameoptional*string #
The name of the SAP HANA database.
secretIdoptionalstringsecret_idoptionalstrsecretIdoptionalStringSecretIdoptionalstringSecretIdoptional*string #
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.