Skip to content
v2.278.0

LicenseServerSettingsProperty Struct ​

The settings of the RDS license server to create the endpoint for.

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 licenseServerSettingsProperty: licensemanagerusersubscriptions.CfnLicenseServerEndpoint.LicenseServerSettingsProperty = {
  serverSettings: {
    rdsSalSettings: {
      rdsSalCredentialsProvider: {
        secretsManagerCredentialsProvider: {
          secretId: 'secretId',
        },
      },
    },
  },
  serverType: 'serverType',
};
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

license_server_settings_property = licensemanagerusersubscriptions.CfnLicenseServerEndpoint.LicenseServerSettingsProperty(
    server_settings=licensemanagerusersubscriptions.CfnLicenseServerEndpoint.ServerSettingsProperty(
        rds_sal_settings=licensemanagerusersubscriptions.CfnLicenseServerEndpoint.RdsSalSettingsProperty(
            rds_sal_credentials_provider=licensemanagerusersubscriptions.CfnLicenseServerEndpoint.CredentialsProviderProperty(
                secrets_manager_credentials_provider=licensemanagerusersubscriptions.CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty(
                    secret_id="secretId"
                )
            )
        )
    ),
    server_type="serverType"
)
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.*;

LicenseServerSettingsProperty licenseServerSettingsProperty = LicenseServerSettingsProperty.builder()
        .serverSettings(ServerSettingsProperty.builder()
                .rdsSalSettings(RdsSalSettingsProperty.builder()
                        .rdsSalCredentialsProvider(CredentialsProviderProperty.builder()
                                .secretsManagerCredentialsProvider(SecretsManagerCredentialsProviderProperty.builder()
                                        .secretId("secretId")
                                        .build())
                                .build())
                        .build())
                .build())
        .serverType("serverType")
        .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 licenseServerSettingsProperty = new LicenseServerSettingsProperty {
    ServerSettings = new ServerSettingsProperty {
        RdsSalSettings = new RdsSalSettingsProperty {
            RdsSalCredentialsProvider = new CredentialsProviderProperty {
                SecretsManagerCredentialsProvider = new SecretsManagerCredentialsProviderProperty {
                    SecretId = "secretId"
                }
            }
        }
    },
    ServerType = "serverType"
};
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"

licenseServerSettingsProperty := &LicenseServerSettingsProperty{
	ServerSettings: &ServerSettingsProperty{
		RdsSalSettings: &RdsSalSettingsProperty{
			RdsSalCredentialsProvider: &CredentialsProviderProperty{
				SecretsManagerCredentialsProvider: &SecretsManagerCredentialsProviderProperty{
					SecretId: jsii.String("secretId"),
				},
			},
		},
	},
	ServerType: jsii.String("serverType"),
}

Properties ​

serverSettingsIResolvable | CfnLicenseServerEndpoint.ServerSettingsPropertyserver_settingstyping.Union[IResolvable, ServerSettingsProperty]serverSettingsIResolvableServerSettingsIResolvableServerSettingsinterface{} required #
The settings of a license server, by server type.
serverTypestringserver_typestrserverTypeStringServerTypestringServerType*string required #
The type of license server.