CfnMalwareProtectionPlanMixinProps

class aws_cdk.mixins_preview.aws_guardduty.mixins.CfnMalwareProtectionPlanMixinProps(*, actions=None, protected_resource=None, role=None, tags=None)

Bases: object

Properties for CfnMalwareProtectionPlanPropsMixin.

Parameters:
  • actions (Union[IResolvable, CFNActionsProperty, Dict[str, Any], None]) – Specifies the action that is to be applied to the Malware Protection plan resource.

  • protected_resource (Union[IResolvable, CFNProtectedResourceProperty, Dict[str, Any], None]) – Information about the protected resource. Presently, S3Bucket is the only supported protected resource.

  • role (Optional[str]) – Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource. To find the ARN of your IAM role, go to the IAM console, and select the role name for details.

  • tags (Optional[Sequence[Union[TagItemProperty, Dict[str, Any]]]]) – The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.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_guardduty import mixins as guardduty_mixins

cfn_malware_protection_plan_mixin_props = guardduty_mixins.CfnMalwareProtectionPlanMixinProps(
    actions=guardduty_mixins.CfnMalwareProtectionPlanPropsMixin.CFNActionsProperty(
        tagging=guardduty_mixins.CfnMalwareProtectionPlanPropsMixin.CFNTaggingProperty(
            status="status"
        )
    ),
    protected_resource=guardduty_mixins.CfnMalwareProtectionPlanPropsMixin.CFNProtectedResourceProperty(
        s3_bucket=guardduty_mixins.CfnMalwareProtectionPlanPropsMixin.S3BucketProperty(
            bucket_name="bucketName",
            object_prefixes=["objectPrefixes"]
        )
    ),
    role="role",
    tags=[guardduty_mixins.CfnMalwareProtectionPlanPropsMixin.TagItemProperty(
        key="key",
        value="value"
    )]
)

Attributes

actions

Specifies the action that is to be applied to the Malware Protection plan resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-actions

protected_resource

Information about the protected resource.

Presently, S3Bucket is the only supported protected resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-protectedresource

role

Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.

To find the ARN of your IAM role, go to the IAM console, and select the role name for details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-role

tags

The tags to be added to the created Malware Protection plan resource.

Each tag consists of a key and an optional value, both of which you need to specify.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-tags