Recorder constructor
Recorder(
- String name, {
- RecorderArgs? args,
- CustomResourceOptions? options,
Creates a new Recorder.
name The Pulumi resource name.
args Arguments used to configure this Recorder. The set of arguments for Recorder.
options Resource options controlling this resource's behavior.
Implementation
Recorder(
String name, {
RecorderArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:cfg/recorder:Recorder',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
this.name = registerOutput<String>('name');
recordingGroup = registerOutput<RecorderRecordingGroup>('recordingGroup', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RecorderRecordingGroup.fromMap((guardedValue as Map).cast<String, dynamic>()); });
recordingMode = registerOutput<RecorderRecordingMode>('recordingMode', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RecorderRecordingMode.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
roleArn = registerOutput<String>('roleArn');
}