AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.MitigationAction
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Mitigation actions can be used to take actions to mitigate issues that were found in an Audit finding or Detect violation.
Create MitigationAction Resource
new MitigationAction(name: string, args: MitigationActionArgs, opts?: CustomResourceOptions);
@overload
def MitigationAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
action_name: Optional[str] = None,
action_params: Optional[MitigationActionActionParamsArgs] = None,
role_arn: Optional[str] = None,
tags: Optional[Sequence[MitigationActionTagArgs]] = None)
@overload
def MitigationAction(resource_name: str,
args: MitigationActionArgs,
opts: Optional[ResourceOptions] = 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.
- 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
The MitigationAction resource accepts the following input properties:
- Action
Params Pulumi.Aws Native. Io T. Inputs. Mitigation Action Action Params - Role
Arn string - Action
Name string A unique identifier for the mitigation action.
- List<Pulumi.
Aws Native. Io T. Inputs. Mitigation Action Tag> An array of key-value pairs to apply to this resource.
- Action
Params MitigationAction Action Params Args - Role
Arn string - Action
Name string A unique identifier for the mitigation action.
- []Mitigation
Action Tag Args An array of key-value pairs to apply to this resource.
- action
Params MitigationAction Action Params - role
Arn String - action
Name String A unique identifier for the mitigation action.
- List<Mitigation
Action Tag> An array of key-value pairs to apply to this resource.
- action
Params MitigationAction Action Params - role
Arn string - action
Name string A unique identifier for the mitigation action.
- Mitigation
Action Tag[] An array of key-value pairs to apply to this resource.
- action_
params MitigationAction Action Params Args - role_
arn str - action_
name str A unique identifier for the mitigation action.
- Sequence[Mitigation
Action Tag Args] An array of key-value pairs to apply to this resource.
- action
Params Property Map - role
Arn String - action
Name 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.
- Mitigation
Action stringArn - Mitigation
Action stringId
- Id string
The provider-assigned unique ID for this managed resource.
- Mitigation
Action stringArn - Mitigation
Action stringId
- id String
The provider-assigned unique ID for this managed resource.
- mitigation
Action StringArn - mitigation
Action StringId
- id string
The provider-assigned unique ID for this managed resource.
- mitigation
Action stringArn - mitigation
Action stringId
- id str
The provider-assigned unique ID for this managed resource.
- mitigation_
action_ strarn - mitigation_
action_ strid
- id String
The provider-assigned unique ID for this managed resource.
- mitigation
Action StringArn - mitigation
Action StringId
Supporting Types
MitigationActionActionParams, MitigationActionActionParamsArgs
- Add
Things Pulumi.To Thing Group Params Aws Native. Io T. Inputs. Mitigation Action Add Things To Thing Group Params - Enable
Io Pulumi.TLogging Params Aws Native. Io T. Inputs. Mitigation Action Enable Io TLogging Params - Publish
Finding Pulumi.To Sns Params Aws Native. Io T. Inputs. Mitigation Action Publish Finding To Sns Params - Replace
Default Pulumi.Policy Version Params Aws Native. Io T. Inputs. Mitigation Action Replace Default Policy Version Params - Update
Ca Pulumi.Certificate Params Aws Native. Io T. Inputs. Mitigation Action Update Ca Certificate Params - Update
Device Pulumi.Certificate Params Aws Native. Io T. Inputs. Mitigation Action Update Device Certificate Params
- Add
Things MitigationTo Thing Group Params Action Add Things To Thing Group Params - Enable
Io MitigationTLogging Params Action Enable Io TLogging Params - Publish
Finding MitigationTo Sns Params Action Publish Finding To Sns Params - Replace
Default MitigationPolicy Version Params Action Replace Default Policy Version Params - Update
Ca MitigationCertificate Params Action Update Ca Certificate Params - Update
Device MitigationCertificate Params Action Update Device Certificate Params
- add
Things MitigationTo Thing Group Params Action Add Things To Thing Group Params - enable
Io MitigationTLogging Params Action Enable Io TLogging Params - publish
Finding MitigationTo Sns Params Action Publish Finding To Sns Params - replace
Default MitigationPolicy Version Params Action Replace Default Policy Version Params - update
Ca MitigationCertificate Params Action Update Ca Certificate Params - update
Device MitigationCertificate Params Action Update Device Certificate Params
- add
Things MitigationTo Thing Group Params Action Add Things To Thing Group Params - enable
Io MitigationTLogging Params Action Enable Io TLogging Params - publish
Finding MitigationTo Sns Params Action Publish Finding To Sns Params - replace
Default MitigationPolicy Version Params Action Replace Default Policy Version Params - update
Ca MitigationCertificate Params Action Update Ca Certificate Params - update
Device MitigationCertificate Params Action Update Device Certificate Params
- add_
things_ Mitigationto_ thing_ group_ params Action Add Things To Thing Group Params - enable_
io_ Mitigationt_ logging_ params Action Enable Io TLogging Params - publish_
finding_ Mitigationto_ sns_ params Action Publish Finding To Sns Params - replace_
default_ Mitigationpolicy_ version_ params Action Replace Default Policy Version Params - update_
ca_ Mitigationcertificate_ params Action Update Ca Certificate Params - update_
device_ Mitigationcertificate_ params Action Update Device Certificate Params
MitigationActionAddThingsToThingGroupParams, MitigationActionAddThingsToThingGroupParamsArgs
- Thing
Group List<string>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.
- Thing
Group []stringNames 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.
- thing
Group List<String>Names The list of groups to which you want to add the things that triggered the mitigation action.
- override
Dynamic 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 string[]Names The list of groups to which you want to add the things that triggered the mitigation action.
- override
Dynamic 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.
- thing
Group List<String>Names The list of groups to which you want to add the things that triggered the mitigation action.
- override
Dynamic 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
- Log
Level Pulumi.Aws Native. Io T. Mitigation Action Enable Io TLogging Params Log Level Specifies which types of information are logged.
- Role
Arn 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 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 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 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.
- log
Level "DEBUG" | "INFO" | "ERROR" | "WARN" | "UNSET_VALUE" Specifies which types of information are logged.
- role
Arn StringFor Logging The ARN of the IAM role used for logging.
MitigationActionEnableIoTLoggingParamsLogLevel, MitigationActionEnableIoTLoggingParamsLogLevelArgs
- Debug
- DEBUG
- Info
- INFO
- Error
- ERROR
- Warn
- WARN
- Unset
Value - UNSET_VALUE
- Mitigation
Action Enable Io TLogging Params Log Level Debug - DEBUG
- Mitigation
Action Enable Io TLogging Params Log Level Info - INFO
- Mitigation
Action Enable Io TLogging Params Log Level Error - ERROR
- Mitigation
Action Enable Io TLogging Params Log Level Warn - WARN
- Mitigation
Action Enable Io TLogging Params Log Level Unset Value - 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
- 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
- Topic
Arn string The ARN of the topic to which you want to publish the findings.
- Topic
Arn string The ARN of the topic to which you want to publish the findings.
- topic
Arn String The ARN of the topic to which you want to publish the findings.
- topic
Arn 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.
- topic
Arn String The ARN of the topic to which you want to publish the findings.
MitigationActionReplaceDefaultPolicyVersionParams, MitigationActionReplaceDefaultPolicyVersionParamsArgs
MitigationActionReplaceDefaultPolicyVersionParamsTemplateName, MitigationActionReplaceDefaultPolicyVersionParamsTemplateNameArgs
- Blank
Policy - BLANK_POLICY
- Unset
Value - UNSET_VALUE
- Mitigation
Action Replace Default Policy Version Params Template Name Blank Policy - BLANK_POLICY
- Mitigation
Action Replace Default Policy Version Params Template Name Unset Value - UNSET_VALUE
- Blank
Policy - BLANK_POLICY
- Unset
Value - UNSET_VALUE
- Blank
Policy - BLANK_POLICY
- Unset
Value - UNSET_VALUE
- BLANK_POLICY
- BLANK_POLICY
- UNSET_VALUE
- UNSET_VALUE
- "BLANK_POLICY"
- BLANK_POLICY
- "UNSET_VALUE"
- UNSET_VALUE
MitigationActionTag, MitigationActionTagArgs
MitigationActionUpdateCaCertificateParams, MitigationActionUpdateCaCertificateParamsArgs
MitigationActionUpdateCaCertificateParamsAction, MitigationActionUpdateCaCertificateParamsActionArgs
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- Mitigation
Action Update Ca Certificate Params Action Deactivate - DEACTIVATE
- Mitigation
Action Update Ca Certificate Params Action Unset Value - UNSET_VALUE
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- DEACTIVATE
- DEACTIVATE
- UNSET_VALUE
- UNSET_VALUE
- "DEACTIVATE"
- DEACTIVATE
- "UNSET_VALUE"
- UNSET_VALUE
MitigationActionUpdateDeviceCertificateParams, MitigationActionUpdateDeviceCertificateParamsArgs
MitigationActionUpdateDeviceCertificateParamsAction, MitigationActionUpdateDeviceCertificateParamsActionArgs
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- Mitigation
Action Update Device Certificate Params Action Deactivate - DEACTIVATE
- Mitigation
Action Update Device Certificate Params Action Unset Value - UNSET_VALUE
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- Deactivate
- DEACTIVATE
- Unset
Value - UNSET_VALUE
- DEACTIVATE
- DEACTIVATE
- UNSET_VALUE
- UNSET_VALUE
- "DEACTIVATE"
- DEACTIVATE
- "UNSET_VALUE"
- UNSET_VALUE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.