KeyvaluestoreKey.reference constructor

KeyvaluestoreKey.reference(
  1. String urn
)

Creates a typed reference to an existing KeyvaluestoreKey resource.

Implementation

KeyvaluestoreKey.reference(String urn)
  : super(
      'aws:cloudfront/keyvaluestoreKey:KeyvaluestoreKey',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  key = registerOutput<String>('key');
  keyValueStoreArn = registerOutput<String>('keyValueStoreArn');
  totalSizeInBytes = registerOutput<int>('totalSizeInBytes');
  value = registerOutput<String>('value');
}