UserProfile.reference constructor
UserProfile.reference(
- String urn
Creates a typed reference to an existing UserProfile resource.
Implementation
UserProfile.reference(String urn)
: super(
'aws:datazone/userProfile:UserProfile',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
details = registerOutput<List<UserProfileDetail>>('details', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<UserProfileDetail>(guardedValue, (value) => UserProfileDetail.fromMap((value as Map).cast<String, dynamic>())); });
domainIdentifier = registerOutput<String>('domainIdentifier');
region = registerOutput<String>('region');
status = registerOutput<String>('status');
timeouts = registerOutput<UserProfileTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return UserProfileTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
type = registerOutput<String>('type');
userIdentifier = registerOutput<String>('userIdentifier');
userType = registerOutput<String>('userType');
}