LicenseConfiguration.reference constructor
LicenseConfiguration.reference(
- String urn
Creates a typed reference to an existing LicenseConfiguration resource.
Implementation
LicenseConfiguration.reference(String urn)
: super(
'aws:licensemanager/licenseConfiguration:LicenseConfiguration',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
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>(); });
}