We recommend new projects start with resources from the AWS provider.
aws-native.iot.MitigationAction
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Mitigation actions can be used to take actions to mitigate issues that were found in an Audit finding or Detect violation.
Create MitigationAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MitigationAction(name: string, args: MitigationActionArgs, opts?: CustomResourceOptions);@overload
def MitigationAction(resource_name: str,
                     args: MitigationActionArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def MitigationAction(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     action_params: Optional[MitigationActionActionParamsArgs] = None,
                     role_arn: Optional[str] = None,
                     action_name: Optional[str] = None,
                     tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewMitigationAction(ctx *Context, name string, args MitigationActionArgs, opts ...ResourceOption) (*MitigationAction, error)public MitigationAction(string name, MitigationActionArgs args, CustomResourceOptions? opts = null)
public MitigationAction(String name, MitigationActionArgs args)
public MitigationAction(String name, MitigationActionArgs args, CustomResourceOptions options)
type: aws-native:iot:MitigationAction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MitigationActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MitigationActionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MitigationActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MitigationActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MitigationActionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MitigationAction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MitigationAction resource accepts the following input properties:
- ActionParams Pulumi.Aws Native. Io T. Inputs. Mitigation Action Action Params 
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- RoleArn string
- The IAM role ARN used to apply this mitigation action.
- ActionName string
- A unique identifier for the mitigation action.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ActionParams MitigationAction Action Params Args 
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- RoleArn string
- The IAM role ARN used to apply this mitigation action.
- ActionName string
- A unique identifier for the mitigation action.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- actionParams MitigationAction Action Params 
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- roleArn String
- The IAM role ARN used to apply this mitigation action.
- actionName String
- A unique identifier for the mitigation action.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- actionParams MitigationAction Action Params 
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- roleArn string
- The IAM role ARN used to apply this mitigation action.
- actionName string
- A unique identifier for the mitigation action.
- Tag[]
- An array of key-value pairs to apply to this resource.
- action_params MitigationAction Action Params Args 
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- role_arn str
- The IAM role ARN used to apply this mitigation action.
- action_name str
- A unique identifier for the mitigation action.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- actionParams Property Map
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
- roleArn String
- The IAM role ARN used to apply this mitigation action.
- actionName String
- A unique identifier for the mitigation action.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the MitigationAction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- MitigationAction stringArn 
- The Amazon Resource Name (ARN) of the mitigation action.
- MitigationAction stringId 
- The ID of the mitigation action.
- Id string
- The provider-assigned unique ID for this managed resource.
- MitigationAction stringArn 
- The Amazon Resource Name (ARN) of the mitigation action.
- MitigationAction stringId 
- The ID of the mitigation action.
- id String
- The provider-assigned unique ID for this managed resource.
- mitigationAction StringArn 
- The Amazon Resource Name (ARN) of the mitigation action.
- mitigationAction StringId 
- The ID of the mitigation action.
- id string
- The provider-assigned unique ID for this managed resource.
- mitigationAction stringArn 
- The Amazon Resource Name (ARN) of the mitigation action.
- mitigationAction stringId 
- The ID of the mitigation action.
- id str
- The provider-assigned unique ID for this managed resource.
- mitigation_action_ strarn 
- The Amazon Resource Name (ARN) of the mitigation action.
- mitigation_action_ strid 
- The ID of the mitigation action.
- id String
- The provider-assigned unique ID for this managed resource.
- mitigationAction StringArn 
- The Amazon Resource Name (ARN) of the mitigation action.
- mitigationAction StringId 
- The ID of the mitigation action.
Supporting Types
MitigationActionActionParams, MitigationActionActionParamsArgs        
- AddThings Pulumi.To Thing Group Params Aws Native. Io T. Inputs. Mitigation Action Add Things To Thing Group Params 
- Specifies the group to which you want to add the devices.
- EnableIo Pulumi.TLogging Params Aws Native. Io T. Inputs. Mitigation Action Enable Io TLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- PublishFinding Pulumi.To Sns Params Aws Native. Io T. Inputs. Mitigation Action Publish Finding To Sns Params 
- Specifies the topic to which the finding should be published.
- ReplaceDefault Pulumi.Policy Version Params Aws Native. Io T. Inputs. Mitigation Action Replace Default Policy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- UpdateCa Pulumi.Certificate Params Aws Native. Io T. Inputs. Mitigation Action Update Ca Certificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- UpdateDevice Pulumi.Certificate Params Aws Native. Io T. Inputs. Mitigation Action Update Device Certificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
- AddThings MitigationTo Thing Group Params Action Add Things To Thing Group Params 
- Specifies the group to which you want to add the devices.
- EnableIo MitigationTLogging Params Action Enable Io TLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- PublishFinding MitigationTo Sns Params Action Publish Finding To Sns Params 
- Specifies the topic to which the finding should be published.
- ReplaceDefault MitigationPolicy Version Params Action Replace Default Policy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- UpdateCa MitigationCertificate Params Action Update Ca Certificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- UpdateDevice MitigationCertificate Params Action Update Device Certificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
- addThings MitigationTo Thing Group Params Action Add Things To Thing Group Params 
- Specifies the group to which you want to add the devices.
- enableIo MitigationTLogging Params Action Enable Io TLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- publishFinding MitigationTo Sns Params Action Publish Finding To Sns Params 
- Specifies the topic to which the finding should be published.
- replaceDefault MitigationPolicy Version Params Action Replace Default Policy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- updateCa MitigationCertificate Params Action Update Ca Certificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- updateDevice MitigationCertificate Params Action Update Device Certificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
- addThings MitigationTo Thing Group Params Action Add Things To Thing Group Params 
- Specifies the group to which you want to add the devices.
- enableIo MitigationTLogging Params Action Enable Io TLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- publishFinding MitigationTo Sns Params Action Publish Finding To Sns Params 
- Specifies the topic to which the finding should be published.
- replaceDefault MitigationPolicy Version Params Action Replace Default Policy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- updateCa MitigationCertificate Params Action Update Ca Certificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- updateDevice MitigationCertificate Params Action Update Device Certificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
- add_things_ Mitigationto_ thing_ group_ params Action Add Things To Thing Group Params 
- Specifies the group to which you want to add the devices.
- enable_io_ Mitigationt_ logging_ params Action Enable Io TLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- publish_finding_ Mitigationto_ sns_ params Action Publish Finding To Sns Params 
- Specifies the topic to which the finding should be published.
- replace_default_ Mitigationpolicy_ version_ params Action Replace Default Policy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- update_ca_ Mitigationcertificate_ params Action Update Ca Certificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- update_device_ Mitigationcertificate_ params Action Update Device Certificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
- addThings Property MapTo Thing Group Params 
- Specifies the group to which you want to add the devices.
- enableIo Property MapTLogging Params 
- Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of DISABLED.
- publishFinding Property MapTo Sns Params 
- Specifies the topic to which the finding should be published.
- replaceDefault Property MapPolicy Version Params 
- Replaces the policy version with a default or blank policy. You specify the template name. Only a value of BLANK_POLICYis currently supported.
- updateCa Property MapCertificate Params 
- Specifies the new state for the CA certificate. Only a value of DEACTIVATEis currently supported.
- updateDevice Property MapCertificate Params 
- Specifies the new state for a device certificate. Only a value of DEACTIVATEis currently supported.
MitigationActionAddThingsToThingGroupParams, MitigationActionAddThingsToThingGroupParamsArgs                
- ThingGroup List<string>Names 
- The list of groups to which you want to add the things that triggered the mitigation action.
- OverrideDynamic boolGroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
- ThingGroup []stringNames 
- The list of groups to which you want to add the things that triggered the mitigation action.
- OverrideDynamic boolGroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
- thingGroup List<String>Names 
- The list of groups to which you want to add the things that triggered the mitigation action.
- overrideDynamic BooleanGroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
- thingGroup string[]Names 
- The list of groups to which you want to add the things that triggered the mitigation action.
- overrideDynamic booleanGroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
- thing_group_ Sequence[str]names 
- The list of groups to which you want to add the things that triggered the mitigation action.
- override_dynamic_ boolgroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
- thingGroup List<String>Names 
- The list of groups to which you want to add the things that triggered the mitigation action.
- overrideDynamic BooleanGroups 
- Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
MitigationActionEnableIoTLoggingParams, MitigationActionEnableIoTLoggingParamsArgs            
- LogLevel Pulumi.Aws Native. Io T. Mitigation Action Enable Io TLogging Params Log Level 
- Specifies which types of information are logged.
- RoleArn stringFor Logging 
- The ARN of the IAM role used for logging.
- LogLevel MitigationAction Enable Io TLogging Params Log Level 
- Specifies which types of information are logged.
- RoleArn stringFor Logging 
- The ARN of the IAM role used for logging.
- logLevel MitigationAction Enable Io TLogging Params Log Level 
- Specifies which types of information are logged.
- roleArn StringFor Logging 
- The ARN of the IAM role used for logging.
- logLevel MitigationAction Enable Io TLogging Params Log Level 
- Specifies which types of information are logged.
- roleArn stringFor Logging 
- The ARN of the IAM role used for logging.
- log_level MitigationAction Enable Io TLogging Params Log Level 
- Specifies which types of information are logged.
- role_arn_ strfor_ logging 
- The ARN of the IAM role used for logging.
- logLevel "DEBUG" | "INFO" | "ERROR" | "WARN" | "UNSET_VALUE"
- Specifies which types of information are logged.
- roleArn StringFor Logging 
- The ARN of the IAM role used for logging.
MitigationActionEnableIoTLoggingParamsLogLevel, MitigationActionEnableIoTLoggingParamsLogLevelArgs                
- Debug
- DEBUG
- Info
- INFO
- Error
- ERROR
- Warn
- WARN
- UnsetValue 
- UNSET_VALUE
- MitigationAction Enable Io TLogging Params Log Level Debug 
- DEBUG
- MitigationAction Enable Io TLogging Params Log Level Info 
- INFO
- MitigationAction Enable Io TLogging Params Log Level Error 
- ERROR
- MitigationAction Enable Io TLogging Params Log Level Warn 
- WARN
- MitigationAction Enable Io TLogging Params Log Level Unset Value 
- UNSET_VALUE
- Debug
- DEBUG
- Info
- INFO
- Error
- ERROR
- Warn
- WARN
- UnsetValue 
- UNSET_VALUE
- Debug
- DEBUG
- Info
- INFO
- Error
- ERROR
- Warn
- WARN
- UnsetValue 
- UNSET_VALUE
- DEBUG
- DEBUG
- INFO
- INFO
- ERROR
- ERROR
- WARN
- WARN
- UNSET_VALUE
- UNSET_VALUE
- "DEBUG"
- DEBUG
- "INFO"
- INFO
- "ERROR"
- ERROR
- "WARN"
- WARN
- "UNSET_VALUE"
- UNSET_VALUE
MitigationActionPublishFindingToSnsParams, MitigationActionPublishFindingToSnsParamsArgs              
- TopicArn string
- The ARN of the topic to which you want to publish the findings.
- TopicArn string
- The ARN of the topic to which you want to publish the findings.
- topicArn String
- The ARN of the topic to which you want to publish the findings.
- topicArn string
- The ARN of the topic to which you want to publish the findings.
- topic_arn str
- The ARN of the topic to which you want to publish the findings.
- topicArn String
- The ARN of the topic to which you want to publish the findings.
MitigationActionReplaceDefaultPolicyVersionParams, MitigationActionReplaceDefaultPolicyVersionParamsArgs              
- TemplateName Pulumi.Aws Native. Io T. Mitigation Action Replace Default Policy Version Params Template Name 
- The name of the template to be applied. The only supported value is BLANK_POLICY.
- TemplateName MitigationAction Replace Default Policy Version Params Template Name 
- The name of the template to be applied. The only supported value is BLANK_POLICY.
- templateName MitigationAction Replace Default Policy Version Params Template Name 
- The name of the template to be applied. The only supported value is BLANK_POLICY.
- templateName MitigationAction Replace Default Policy Version Params Template Name 
- The name of the template to be applied. The only supported value is BLANK_POLICY.
- template_name MitigationAction Replace Default Policy Version Params Template Name 
- The name of the template to be applied. The only supported value is BLANK_POLICY.
- templateName "BLANK_POLICY" | "UNSET_VALUE"
- The name of the template to be applied. The only supported value is BLANK_POLICY.
MitigationActionReplaceDefaultPolicyVersionParamsTemplateName, MitigationActionReplaceDefaultPolicyVersionParamsTemplateNameArgs                  
- BlankPolicy 
- BLANK_POLICY
- UnsetValue 
- UNSET_VALUE
- MitigationAction Replace Default Policy Version Params Template Name Blank Policy 
- BLANK_POLICY
- MitigationAction Replace Default Policy Version Params Template Name Unset Value 
- UNSET_VALUE
- BlankPolicy 
- BLANK_POLICY
- UnsetValue 
- UNSET_VALUE
- BlankPolicy 
- BLANK_POLICY
- UnsetValue 
- UNSET_VALUE
- BLANK_POLICY
- BLANK_POLICY
- UNSET_VALUE
- UNSET_VALUE
- "BLANK_POLICY"
- BLANK_POLICY
- "UNSET_VALUE"
- UNSET_VALUE
MitigationActionUpdateCaCertificateParams, MitigationActionUpdateCaCertificateParamsArgs            
- Action
Pulumi.Aws Native. Io T. Mitigation Action Update Ca Certificate Params Action 
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
- Action
MitigationAction Update Ca Certificate Params Action 
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Ca Certificate Params Action 
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Ca Certificate Params Action 
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Ca Certificate Params Action 
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
- action "DEACTIVATE" | "UNSET_VALUE"
- The action that you want to apply to the CA certificate. The only supported value is DEACTIVATE.
MitigationActionUpdateCaCertificateParamsAction, MitigationActionUpdateCaCertificateParamsActionArgs              
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- MitigationAction Update Ca Certificate Params Action Deactivate 
- DEACTIVATE
- MitigationAction Update Ca Certificate Params Action Unset Value 
- UNSET_VALUE
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- DEACTIVATE
- DEACTIVATE
- UNSET_VALUE
- UNSET_VALUE
- "DEACTIVATE"
- DEACTIVATE
- "UNSET_VALUE"
- UNSET_VALUE
MitigationActionUpdateDeviceCertificateParams, MitigationActionUpdateDeviceCertificateParamsArgs            
- Action
Pulumi.Aws Native. Io T. Mitigation Action Update Device Certificate Params Action 
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
- Action
MitigationAction Update Device Certificate Params Action 
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Device Certificate Params Action 
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Device Certificate Params Action 
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
- action
MitigationAction Update Device Certificate Params Action 
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
- action "DEACTIVATE" | "UNSET_VALUE"
- The action that you want to apply to the device certificate. The only supported value is DEACTIVATE.
MitigationActionUpdateDeviceCertificateParamsAction, MitigationActionUpdateDeviceCertificateParamsActionArgs              
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- MitigationAction Update Device Certificate Params Action Deactivate 
- DEACTIVATE
- MitigationAction Update Device Certificate Params Action Unset Value 
- UNSET_VALUE
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- Deactivate
- DEACTIVATE
- UnsetValue 
- UNSET_VALUE
- DEACTIVATE
- DEACTIVATE
- UNSET_VALUE
- UNSET_VALUE
- "DEACTIVATE"
- DEACTIVATE
- "UNSET_VALUE"
- UNSET_VALUE
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.