ConformancePack.reference constructor

ConformancePack.reference(
  1. String urn
)

Creates a typed reference to an existing ConformancePack resource.

Implementation

ConformancePack.reference(String urn)
  : super(
      'aws:cfg/conformancePack:ConformancePack',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  deliveryS3Bucket = registerOutput<String?>('deliveryS3Bucket');
  deliveryS3KeyPrefix = registerOutput<String?>('deliveryS3KeyPrefix');
  inputParameters = registerOutput<List<ConformancePackInputParameter>?>('inputParameters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ConformancePackInputParameter>(guardedValue, (value) => ConformancePackInputParameter.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  templateBody = registerOutput<String?>('templateBody');
  templateS3Uri = registerOutput<String?>('templateS3Uri');
}