MalwareProtectionPlan

class MalwareProtectionPlan : KotlinCustomResource

Provides a resource to manage a GuardDuty malware protection plan.

Example Usage

resources:
example:
type: aws:guardduty:MalwareProtectionPlan
properties:
role: ${exampleAwsIamRole.arn}
protectedResource:
s3Bucket:
bucketName: ${exampleAwsS3Bucket.id}
objectPrefixes:
- example1
- example2
actions:
- tagging:
- status: ENABLED
tags:
Name: example

Import

Using pulumi import, import GuardDuty malware protection plans using their IDs. For example:

$ pulumi import aws:guardduty/malwareProtectionPlan:MalwareProtectionPlan example 1234567890abcdef0123

Properties

Link copied to clipboard

Information about whether the tags will be added to the S3 object after scanning. See actions below.

Link copied to clipboard
val arn: Output<String>

The ARN of the GuardDuty malware protection plan

Link copied to clipboard
val createdAt: Output<String>

The timestamp when the Malware Protection plan resource was created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See protected_resource below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>

ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.

Link copied to clipboard
val status: Output<String>

The GuardDuty malware protection plan status. Valid values are ACTIVE, WARNING, and ERROR.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val urn: Output<String>