1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. getMitigationAction

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.iot.getMitigationAction

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    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:

    ActionName string
    A unique identifier for the mitigation action.
    ActionName string
    A unique identifier for the mitigation action.
    actionName String
    A unique identifier for the mitigation action.
    actionName string
    A unique identifier for the mitigation action.
    action_name str
    A unique identifier for the mitigation action.
    actionName String
    A unique identifier for the mitigation action.

    getMitigationAction Result

    The following output properties are available:

    ActionParams MitigationActionActionParams
    MitigationActionArn string
    MitigationActionId string
    RoleArn string
    Tags Tag
    An array of key-value pairs to apply to this resource.
    actionParams MitigationActionActionParams
    mitigationActionArn String
    mitigationActionId String
    roleArn String
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    actionParams MitigationActionActionParams
    mitigationActionArn string
    mitigationActionId string
    roleArn string
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    actionParams Property Map
    mitigationActionArn String
    mitigationActionId String
    roleArn String
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    MitigationActionActionParams

    MitigationActionAddThingsToThingGroupParams

    ThingGroupNames List<string>
    The list of groups to which you want to add the things that triggered the mitigation action.
    OverrideDynamicGroups bool
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
    ThingGroupNames []string
    The list of groups to which you want to add the things that triggered the mitigation action.
    OverrideDynamicGroups bool
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
    thingGroupNames List<String>
    The list of groups to which you want to add the things that triggered the mitigation action.
    overrideDynamicGroups Boolean
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
    thingGroupNames string[]
    The list of groups to which you want to add the things that triggered the mitigation action.
    overrideDynamicGroups boolean
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
    thing_group_names Sequence[str]
    The list of groups to which you want to add the things that triggered the mitigation action.
    override_dynamic_groups bool
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.
    thingGroupNames List<String>
    The list of groups to which you want to add the things that triggered the mitigation action.
    overrideDynamicGroups Boolean
    Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups.

    MitigationActionEnableIoTLoggingParams

    LogLevel Pulumi.AwsNative.IoT.MitigationActionEnableIoTLoggingParamsLogLevel
    Specifies which types of information are logged.
    RoleArnForLogging string
    The ARN of the IAM role used for logging.
    LogLevel MitigationActionEnableIoTLoggingParamsLogLevel
    Specifies which types of information are logged.
    RoleArnForLogging string
    The ARN of the IAM role used for logging.
    logLevel MitigationActionEnableIoTLoggingParamsLogLevel
    Specifies which types of information are logged.
    roleArnForLogging String
    The ARN of the IAM role used for logging.
    logLevel MitigationActionEnableIoTLoggingParamsLogLevel
    Specifies which types of information are logged.
    roleArnForLogging string
    The ARN of the IAM role used for logging.
    log_level MitigationActionEnableIoTLoggingParamsLogLevel
    Specifies which types of information are logged.
    role_arn_for_logging str
    The ARN of the IAM role used for logging.
    logLevel "DEBUG" | "INFO" | "ERROR" | "WARN" | "UNSET_VALUE"
    Specifies which types of information are logged.
    roleArnForLogging String
    The ARN of the IAM role used for logging.

    MitigationActionEnableIoTLoggingParamsLogLevel

    MitigationActionPublishFindingToSnsParams

    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

    MitigationActionReplaceDefaultPolicyVersionParamsTemplateName

    MitigationActionUpdateCaCertificateParams

    MitigationActionUpdateCaCertificateParamsAction

    MitigationActionUpdateDeviceCertificateParams

    MitigationActionUpdateDeviceCertificateParamsAction

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi