RealtimeLogConfig constructor
RealtimeLogConfig(
- String name, {
- RealtimeLogConfigArgs? args,
- CustomResourceOptions? options,
Creates a new RealtimeLogConfig.
name The Pulumi resource name.
args Arguments used to configure this RealtimeLogConfig. The set of arguments for RealtimeLogConfig.
options Resource options controlling this resource's behavior.
Implementation
RealtimeLogConfig(
String name, {
RealtimeLogConfigArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:cloudfront/realtimeLogConfig:RealtimeLogConfig',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
endpoint = registerOutput<RealtimeLogConfigEndpoint>('endpoint', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RealtimeLogConfigEndpoint.fromMap((guardedValue as Map).cast<String, dynamic>()); });
fields = registerOutput<List<String>>('fields', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
this.name = registerOutput<String>('name');
samplingRate = registerOutput<int>('samplingRate');
}