AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.getMitigationAction
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.
Using getMitigationAction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMitigationAction(args: GetMitigationActionArgs, opts?: InvokeOptions): Promise<GetMitigationActionResult>
function getMitigationActionOutput(args: GetMitigationActionOutputArgs, opts?: InvokeOptions): Output<GetMitigationActionResult>
def get_mitigation_action(action_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMitigationActionResult
def get_mitigation_action_output(action_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMitigationActionResult]
func LookupMitigationAction(ctx *Context, args *LookupMitigationActionArgs, opts ...InvokeOption) (*LookupMitigationActionResult, error)
func LookupMitigationActionOutput(ctx *Context, args *LookupMitigationActionOutputArgs, opts ...InvokeOption) LookupMitigationActionResultOutput
> Note: This function is named LookupMitigationAction
in the Go SDK.
public static class GetMitigationAction
{
public static Task<GetMitigationActionResult> InvokeAsync(GetMitigationActionArgs args, InvokeOptions? opts = null)
public static Output<GetMitigationActionResult> Invoke(GetMitigationActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMitigationActionResult> getMitigationAction(GetMitigationActionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getMitigationAction
arguments:
# arguments dictionary
The following arguments are supported:
- Action
Name string A unique identifier for the mitigation action.
- Action
Name string A unique identifier for the mitigation action.
- action
Name String A unique identifier for the mitigation action.
- action
Name string A unique identifier for the mitigation action.
- action_
name str A unique identifier for the mitigation action.
- action
Name String A unique identifier for the mitigation action.
getMitigationAction Result
The following output properties are available:
- Action
Params Pulumi.Aws Native. Io T. Outputs. Mitigation Action Action Params - Mitigation
Action stringArn - Mitigation
Action stringId - Role
Arn string - List<Pulumi.
Aws Native. Io T. Outputs. Mitigation Action Tag> An array of key-value pairs to apply to this resource.
- Action
Params MitigationAction Action Params - Mitigation
Action stringArn - Mitigation
Action stringId - Role
Arn string - []Mitigation
Action Tag An array of key-value pairs to apply to this resource.
- action
Params MitigationAction Action Params - mitigation
Action StringArn - mitigation
Action StringId - role
Arn String - List<Mitigation
Action Tag> An array of key-value pairs to apply to this resource.
- action
Params MitigationAction Action Params - mitigation
Action stringArn - mitigation
Action stringId - role
Arn string - Mitigation
Action Tag[] An array of key-value pairs to apply to this resource.
- action_
params MitigationAction Action Params - mitigation_
action_ strarn - mitigation_
action_ strid - role_
arn str - Sequence[Mitigation
Action Tag] An array of key-value pairs to apply to this resource.
- action
Params Property Map - mitigation
Action StringArn - mitigation
Action StringId - role
Arn String - List<Property Map>
An array of key-value pairs to apply to this resource.
Supporting Types
MitigationActionActionParams
- 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
- 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
- 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
MitigationActionPublishFindingToSnsParams
- 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
MitigationActionReplaceDefaultPolicyVersionParamsTemplateName
MitigationActionTag
MitigationActionUpdateCaCertificateParams
MitigationActionUpdateCaCertificateParamsAction
MitigationActionUpdateDeviceCertificateParams
MitigationActionUpdateDeviceCertificateParamsAction
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.