CustomLogSource constructor
CustomLogSource(
- String name, {
- CustomLogSourceArgs? args,
- CustomResourceOptions? options,
Creates a new CustomLogSource.
name The Pulumi resource name.
args Arguments used to configure this CustomLogSource. The set of arguments for CustomLogSource.
options Resource options controlling this resource's behavior.
Implementation
CustomLogSource(
String name, {
CustomLogSourceArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:securitylake/customLogSource:CustomLogSource',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
attributes = registerOutput<List<CustomLogSourceAttribute>>('attributes', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CustomLogSourceAttribute>(guardedValue, (value) => CustomLogSourceAttribute.fromMap((value as Map).cast<String, dynamic>())); });
configuration = registerOutput<CustomLogSourceConfiguration>('configuration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CustomLogSourceConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
eventClasses = registerOutput<List<String>?>('eventClasses', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
providerDetails = registerOutput<List<CustomLogSourceProviderDetail>>('providerDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CustomLogSourceProviderDetail>(guardedValue, (value) => CustomLogSourceProviderDetail.fromMap((value as Map).cast<String, dynamic>())); });
region = registerOutput<String>('region');
sourceName = registerOutput<String>('sourceName');
sourceVersion = registerOutput<String>('sourceVersion');
}