UserInGroup.reference constructor
UserInGroup.reference(
- String urn
Creates a typed reference to an existing UserInGroup resource.
Implementation
UserInGroup.reference(String urn)
: super(
'aws:cognito/userInGroup:UserInGroup',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
groupName = registerOutput<String>('groupName');
region = registerOutput<String>('region');
userPoolId = registerOutput<String>('userPoolId');
username = registerOutput<String>('username');
}