LicenseConfiguration constructor
LicenseConfiguration(
- String name, {
- LicenseConfigurationArgs? args,
- CustomResourceOptions? options,
Creates a new LicenseConfiguration.
name The Pulumi resource name.
args Arguments used to configure this LicenseConfiguration. The set of arguments for LicenseConfiguration.
options Resource options controlling this resource's behavior.
Implementation
LicenseConfiguration(
String name, {
LicenseConfigurationArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:licensemanager/licenseConfiguration:LicenseConfiguration',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
description = registerOutput<String?>('description');
licenseCount = registerOutput<int?>('licenseCount');
licenseCountHardLimit = registerOutput<bool?>('licenseCountHardLimit');
licenseCountingType = registerOutput<String>('licenseCountingType');
licenseRules = registerOutput<List<String>?>('licenseRules', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
this.name = registerOutput<String>('name');
ownerAccountId = registerOutput<String>('ownerAccountId');
region = registerOutput<String>('region');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}