CfnMitigationActionMixinProps
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnMitigationActionMixinProps(*, action_name=None, action_params=None, role_arn=None, tags=None)
Bases:
objectProperties for CfnMitigationActionPropsMixin.
- Parameters:
action_name (
Optional[str]) – The friendly name of the mitigation action.action_params (
Union[IResolvable,ActionParamsProperty,Dict[str,Any],None]) – The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.role_arn (
Optional[str]) – The IAM role ARN used to apply this mitigation action.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Metadata that can be used to manage the mitigation action.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iot import mixins as iot_mixins cfn_mitigation_action_mixin_props = iot_mixins.CfnMitigationActionMixinProps( action_name="actionName", action_params=iot_mixins.CfnMitigationActionPropsMixin.ActionParamsProperty( add_things_to_thing_group_params=iot_mixins.CfnMitigationActionPropsMixin.AddThingsToThingGroupParamsProperty( override_dynamic_groups=False, thing_group_names=["thingGroupNames"] ), enable_io_tLogging_params=iot_mixins.CfnMitigationActionPropsMixin.EnableIoTLoggingParamsProperty( log_level="logLevel", role_arn_for_logging="roleArnForLogging" ), publish_finding_to_sns_params=iot_mixins.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty( topic_arn="topicArn" ), replace_default_policy_version_params=iot_mixins.CfnMitigationActionPropsMixin.ReplaceDefaultPolicyVersionParamsProperty( template_name="templateName" ), update_ca_certificate_params=iot_mixins.CfnMitigationActionPropsMixin.UpdateCACertificateParamsProperty( action="action" ), update_device_certificate_params=iot_mixins.CfnMitigationActionPropsMixin.UpdateDeviceCertificateParamsProperty( action="action" ) ), role_arn="roleArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- action_name
The friendly name of the mitigation action.
- action_params
The set of parameters for this mitigation action.
The parameters vary, depending on the kind of action you apply.
- role_arn
The IAM role ARN used to apply this mitigation action.
- tags
Metadata that can be used to manage the mitigation action.