AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getMitigationAction

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 []MitigationActionTag

An array of key-value pairs to apply to this resource.

actionParams MitigationActionActionParams
mitigationActionArn String
mitigationActionId String
roleArn String
tags List<MitigationActionTag>

An array of key-value pairs to apply to this resource.

actionParams MitigationActionActionParams
mitigationActionArn string
mitigationActionId string
roleArn string
tags MitigationActionTag[]

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"

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

MitigationActionTag

Key string

The tag's key.

Value string

The tag's value.

Key string

The tag's key.

Value string

The tag's value.

key String

The tag's key.

value String

The tag's value.

key string

The tag's key.

value string

The tag's value.

key str

The tag's key.

value str

The tag's value.

key String

The tag's key.

value String

The tag's value.

MitigationActionUpdateCACertificateParams

MitigationActionUpdateCACertificateParamsAction

MitigationActionUpdateDeviceCertificateParams

MitigationActionUpdateDeviceCertificateParamsAction

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0