LogS3TableIntegrationSource.reference constructor

LogS3TableIntegrationSource.reference(
  1. String urn
)

Creates a typed reference to an existing LogS3TableIntegrationSource resource.

Implementation

LogS3TableIntegrationSource.reference(String urn)
  : super(
      'aws:cloudwatch/logS3TableIntegrationSource:LogS3TableIntegrationSource',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  dataSource = registerOutput<LogS3TableIntegrationSourceDataSource>('dataSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LogS3TableIntegrationSourceDataSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  integrationArn = registerOutput<String>('integrationArn');
  region = registerOutput<String>('region');
  timeouts = registerOutput<LogS3TableIntegrationSourceTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LogS3TableIntegrationSourceTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}