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