Skip to content
v2.278.0

CfnLicenseServerEndpointProps Struct ​

Properties for defining a CfnLicenseServerEndpoint.

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 cfnLicenseServerEndpointProps: licensemanagerusersubscriptions.CfnLicenseServerEndpointProps = {
  identityProviderArn: 'identityProviderArn',

  // the properties below are optional
  licenseServerSettings: {
    serverSettings: {
      rdsSalSettings: {
        rdsSalCredentialsProvider: {
          secretsManagerCredentialsProvider: {
            secretId: 'secretId',
          },
        },
      },
    },
    serverType: 'serverType',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_license_server_endpoint_props = licensemanagerusersubscriptions.CfnLicenseServerEndpointProps(
    identity_provider_arn="identityProviderArn",

    # the properties below are optional
    license_server_settings=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"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnLicenseServerEndpointProps cfnLicenseServerEndpointProps = CfnLicenseServerEndpointProps.builder()
        .identityProviderArn("identityProviderArn")

        // the properties below are optional
        .licenseServerSettings(LicenseServerSettingsProperty.builder()
                .serverSettings(ServerSettingsProperty.builder()
                        .rdsSalSettings(RdsSalSettingsProperty.builder()
                                .rdsSalCredentialsProvider(CredentialsProviderProperty.builder()
                                        .secretsManagerCredentialsProvider(SecretsManagerCredentialsProviderProperty.builder()
                                                .secretId("secretId")
                                                .build())
                                        .build())
                                .build())
                        .build())
                .serverType("serverType")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnLicenseServerEndpointProps = new CfnLicenseServerEndpointProps {
    IdentityProviderArn = "identityProviderArn",

    // the properties below are optional
    LicenseServerSettings = new LicenseServerSettingsProperty {
        ServerSettings = new ServerSettingsProperty {
            RdsSalSettings = new RdsSalSettingsProperty {
                RdsSalCredentialsProvider = new CredentialsProviderProperty {
                    SecretsManagerCredentialsProvider = new SecretsManagerCredentialsProviderProperty {
                        SecretId = "secretId"
                    }
                }
            }
        },
        ServerType = "serverType"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnLicenseServerEndpointProps := &CfnLicenseServerEndpointProps{
	IdentityProviderArn: jsii.String("identityProviderArn"),

	// the properties below are optional
	LicenseServerSettings: &LicenseServerSettingsProperty{
		ServerSettings: &ServerSettingsProperty{
			RdsSalSettings: &RdsSalSettingsProperty{
				RdsSalCredentialsProvider: &CredentialsProviderProperty{
					SecretsManagerCredentialsProvider: &SecretsManagerCredentialsProviderProperty{
						SecretId: jsii.String("secretId"),
					},
				},
			},
		},
		ServerType: jsii.String("serverType"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

identityProviderArnstringidentity_provider_arnstridentityProviderArnStringIdentityProviderArnstringIdentityProviderArn*string required #
The Amazon Resource Name (ARN) that identifies the registered identity provider the license server endpoint is created for.

For Active Directory, that can be a self-managed Active Directory or an AWS Managed Microsoft AD.

licenseServerSettingsoptionalIResolvable | CfnLicenseServerEndpoint.LicenseServerSettingsPropertylicense_server_settingsoptionaltyping.Union[IResolvable, LicenseServerSettingsProperty]licenseServerSettingsoptionalIResolvableLicenseServerSettingsoptionalIResolvableLicenseServerSettingsoptionalinterface{} #
The settings of the RDS license server to create the endpoint for.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags that apply for the license server endpoint.

A maximum of 50 tags.