EventListCoreV1 constructor

EventListCoreV1(
  1. String name, {
  2. EventListArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

EventListCoreV1(
  String name, {
  EventListArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:core/v1:EventList',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  apiVersion = registerOutput<String>('apiVersion');
  items = registerOutput<List<Map<String, dynamic>>>('items');
  kind = registerOutput<String>('kind');
  metadata = registerOutput<ListMeta>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ListMeta.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}