LbAttachment.reference constructor
LbAttachment.reference(
- String urn
Creates a typed reference to an existing LbAttachment resource.
Implementation
LbAttachment.reference(String urn)
: super(
'aws:lightsail/lbAttachment:LbAttachment',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
instanceName = registerOutput<String>('instanceName');
lbName = registerOutput<String>('lbName');
region = registerOutput<String>('region');
}