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