LogDeliverySource constructor

LogDeliverySource(
  1. String name, {
  2. LogDeliverySourceArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new LogDeliverySource. name The Pulumi resource name. args Arguments used to configure this LogDeliverySource. The set of arguments for LogDeliverySource. options Resource options controlling this resource's behavior.

Implementation

LogDeliverySource(
  String name, {
  LogDeliverySourceArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:cloudwatch/logDeliverySource:LogDeliverySource',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  logType = registerOutput<String>('logType');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  resourceArn = registerOutput<String>('resourceArn');
  service = registerOutput<String>('service');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}