Skip to content
v2.278.0

SecretsManagerCredentialsProviderProperty Struct ​

Credentials held in AWS Secrets Manager.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanagerusersubscriptions as licensemanagerusersubscriptions } from 'aws-cdk-lib';
const secretsManagerCredentialsProviderProperty: licensemanagerusersubscriptions.CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty = {
  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_licensemanagerusersubscriptions as licensemanagerusersubscriptions

secrets_manager_credentials_provider_property = licensemanagerusersubscriptions.CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty(
    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.licensemanagerusersubscriptions.*;

SecretsManagerCredentialsProviderProperty secretsManagerCredentialsProviderProperty = SecretsManagerCredentialsProviderProperty.builder()
        .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.LicenseManagerUserSubscriptions;

var secretsManagerCredentialsProviderProperty = new SecretsManagerCredentialsProviderProperty {
    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"

secretsManagerCredentialsProviderProperty := &SecretsManagerCredentialsProviderProperty{
	SecretId: jsii.String("secretId"),
}

Properties ​

secretIdstringsecret_idstrsecretIdStringSecretIdstringSecretId*string required #
The identifier of the Secrets Manager secret that holds the license server administrator credentials.

The name of the secret must begin with the prefix license-manager-user-.