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