CredentialsProviderProperty Struct
The source of the credentials that License Manager uses to reach the license server.
| 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_licensemanagerusersubscriptions as licensemanagerusersubscriptions } from 'aws-cdk-lib';
const credentialsProviderProperty: licensemanagerusersubscriptions.CfnLicenseServerEndpoint.CredentialsProviderProperty = {
secretsManagerCredentialsProvider: {
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
credentials_provider_property = licensemanagerusersubscriptions.CfnLicenseServerEndpoint.CredentialsProviderProperty(
secrets_manager_credentials_provider=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.*;
CredentialsProviderProperty credentialsProviderProperty = CredentialsProviderProperty.builder()
.secretsManagerCredentialsProvider(SecretsManagerCredentialsProviderProperty.builder()
.secretId("secretId")
.build())
.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 credentialsProviderProperty = new CredentialsProviderProperty {
SecretsManagerCredentialsProvider = 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"
credentialsProviderProperty := &CredentialsProviderProperty{
SecretsManagerCredentialsProvider: &SecretsManagerCredentialsProviderProperty{
SecretId: jsii.String("secretId"),
},
}
Properties
secretsManagerCredentialsProviderIResolvable | CfnLicenseServerEndpoint.secrets_manager_credentials_providertyping.Union[IResolvable, SecretsManagerCredentialsProviderProperty]secretsManagerCredentialsProviderIResolvableSecretsManagerCredentialsProviderIResolvableSecretsManagerCredentialsProviderinterface{} required #Credentials held in AWS Secrets Manager.