ProactiveEngagement constructor

ProactiveEngagement(
  1. String name, {
  2. ProactiveEngagementArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ProactiveEngagement. name The Pulumi resource name. args Arguments used to configure this ProactiveEngagement. The set of arguments for ProactiveEngagement. options Resource options controlling this resource's behavior.

Implementation

ProactiveEngagement(
  String name, {
  ProactiveEngagementArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:shield/proactiveEngagement:ProactiveEngagement',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  emergencyContacts = registerOutput<List<ProactiveEngagementEmergencyContact>>('emergencyContacts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ProactiveEngagementEmergencyContact>(guardedValue, (value) => ProactiveEngagementEmergencyContact.fromMap((value as Map).cast<String, dynamic>())); });
  enabled = registerOutput<bool>('enabled');
}