EventSourcesConfig constructor
EventSourcesConfig(
- String name, {
- EventSourcesConfigArgs? args,
- CustomResourceOptions? options,
Creates a new EventSourcesConfig.
name The Pulumi resource name.
args Arguments used to configure this EventSourcesConfig. The set of arguments for EventSourcesConfig.
options Resource options controlling this resource's behavior.
Implementation
EventSourcesConfig(
String name, {
EventSourcesConfigArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:devopsguru/eventSourcesConfig:EventSourcesConfig',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
eventSources = registerOutput<List<EventSourcesConfigEventSource>>('eventSources', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<EventSourcesConfigEventSource>(guardedValue, (value) => EventSourcesConfigEventSource.fromMap((value as Map).cast<String, dynamic>())); });
region = registerOutput<String>('region');
}