1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. guardduty
  5. getMalwareProtectionPlan

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.guardduty.getMalwareProtectionPlan

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::GuardDuty::MalwareProtectionPlan

Using getMalwareProtectionPlan

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 getMalwareProtectionPlan(args: GetMalwareProtectionPlanArgs, opts?: InvokeOptions): Promise<GetMalwareProtectionPlanResult>
function getMalwareProtectionPlanOutput(args: GetMalwareProtectionPlanOutputArgs, opts?: InvokeOptions): Output<GetMalwareProtectionPlanResult>
Copy
def get_malware_protection_plan(malware_protection_plan_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMalwareProtectionPlanResult
def get_malware_protection_plan_output(malware_protection_plan_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMalwareProtectionPlanResult]
Copy
func LookupMalwareProtectionPlan(ctx *Context, args *LookupMalwareProtectionPlanArgs, opts ...InvokeOption) (*LookupMalwareProtectionPlanResult, error)
func LookupMalwareProtectionPlanOutput(ctx *Context, args *LookupMalwareProtectionPlanOutputArgs, opts ...InvokeOption) LookupMalwareProtectionPlanResultOutput
Copy

> Note: This function is named LookupMalwareProtectionPlan in the Go SDK.

public static class GetMalwareProtectionPlan 
{
    public static Task<GetMalwareProtectionPlanResult> InvokeAsync(GetMalwareProtectionPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetMalwareProtectionPlanResult> Invoke(GetMalwareProtectionPlanInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMalwareProtectionPlanResult> getMalwareProtectionPlan(GetMalwareProtectionPlanArgs args, InvokeOptions options)
public static Output<GetMalwareProtectionPlanResult> getMalwareProtectionPlan(GetMalwareProtectionPlanArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:guardduty:getMalwareProtectionPlan
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MalwareProtectionPlanId This property is required. string
A unique identifier associated with Malware Protection plan resource.
MalwareProtectionPlanId This property is required. string
A unique identifier associated with Malware Protection plan resource.
malwareProtectionPlanId This property is required. String
A unique identifier associated with Malware Protection plan resource.
malwareProtectionPlanId This property is required. string
A unique identifier associated with Malware Protection plan resource.
malware_protection_plan_id This property is required. str
A unique identifier associated with Malware Protection plan resource.
malwareProtectionPlanId This property is required. String
A unique identifier associated with Malware Protection plan resource.

getMalwareProtectionPlan Result

The following output properties are available:

Actions Pulumi.AwsNative.GuardDuty.Outputs.MalwareProtectionPlanCfnActions
Specifies the action that is to be applied to the Malware Protection plan resource.
Arn string
Amazon Resource Name (ARN) of the protected resource.
CreatedAt string
The timestamp when the Malware Protection plan resource was created.
MalwareProtectionPlanId string
A unique identifier associated with Malware Protection plan resource.
ProtectedResource Pulumi.AwsNative.GuardDuty.Outputs.MalwareProtectionPlanCfnProtectedResource
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
Role string
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
Status string
Status of the Malware Protection plan resource.
StatusReasons List<Pulumi.AwsNative.GuardDuty.Outputs.MalwareProtectionPlanCfnStatusReasons>
Status details associated with the Malware Protection plan resource status.
Tags List<Pulumi.AwsNative.Outputs.Tag>
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.
Actions MalwareProtectionPlanCfnActions
Specifies the action that is to be applied to the Malware Protection plan resource.
Arn string
Amazon Resource Name (ARN) of the protected resource.
CreatedAt string
The timestamp when the Malware Protection plan resource was created.
MalwareProtectionPlanId string
A unique identifier associated with Malware Protection plan resource.
ProtectedResource MalwareProtectionPlanCfnProtectedResource
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
Role string
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
Status string
Status of the Malware Protection plan resource.
StatusReasons []MalwareProtectionPlanCfnStatusReasons
Status details associated with the Malware Protection plan resource status.
Tags Tag
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.
actions MalwareProtectionPlanCfnActions
Specifies the action that is to be applied to the Malware Protection plan resource.
arn String
Amazon Resource Name (ARN) of the protected resource.
createdAt String
The timestamp when the Malware Protection plan resource was created.
malwareProtectionPlanId String
A unique identifier associated with Malware Protection plan resource.
protectedResource MalwareProtectionPlanCfnProtectedResource
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
role String
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
status String
Status of the Malware Protection plan resource.
statusReasons List<MalwareProtectionPlanCfnStatusReasons>
Status details associated with the Malware Protection plan resource status.
tags List<Tag>
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.
actions MalwareProtectionPlanCfnActions
Specifies the action that is to be applied to the Malware Protection plan resource.
arn string
Amazon Resource Name (ARN) of the protected resource.
createdAt string
The timestamp when the Malware Protection plan resource was created.
malwareProtectionPlanId string
A unique identifier associated with Malware Protection plan resource.
protectedResource MalwareProtectionPlanCfnProtectedResource
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
role string
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
status string
Status of the Malware Protection plan resource.
statusReasons MalwareProtectionPlanCfnStatusReasons[]
Status details associated with the Malware Protection plan resource status.
tags Tag[]
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.
actions MalwareProtectionPlanCfnActions
Specifies the action that is to be applied to the Malware Protection plan resource.
arn str
Amazon Resource Name (ARN) of the protected resource.
created_at str
The timestamp when the Malware Protection plan resource was created.
malware_protection_plan_id str
A unique identifier associated with Malware Protection plan resource.
protected_resource MalwareProtectionPlanCfnProtectedResource
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
role str
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
status str
Status of the Malware Protection plan resource.
status_reasons Sequence[MalwareProtectionPlanCfnStatusReasons]
Status details associated with the Malware Protection plan resource status.
tags Sequence[root_Tag]
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.
actions Property Map
Specifies the action that is to be applied to the Malware Protection plan resource.
arn String
Amazon Resource Name (ARN) of the protected resource.
createdAt String
The timestamp when the Malware Protection plan resource was created.
malwareProtectionPlanId String
A unique identifier associated with Malware Protection plan resource.
protectedResource Property Map
Information about the protected resource. Presently, S3Bucket is the only supported protected resource.
role String
IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
status String
Status of the Malware Protection plan resource.
statusReasons List<Property Map>
Status details associated with the Malware Protection plan resource status.
tags List<Property Map>
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.

Supporting Types

MalwareProtectionPlanCfnActions

Tagging Pulumi.AwsNative.GuardDuty.Inputs.MalwareProtectionPlanCfnTagging
Contains information about tagging status of the Malware Protection plan resource.
Tagging MalwareProtectionPlanCfnTagging
Contains information about tagging status of the Malware Protection plan resource.
tagging MalwareProtectionPlanCfnTagging
Contains information about tagging status of the Malware Protection plan resource.
tagging MalwareProtectionPlanCfnTagging
Contains information about tagging status of the Malware Protection plan resource.
tagging MalwareProtectionPlanCfnTagging
Contains information about tagging status of the Malware Protection plan resource.
tagging Property Map
Contains information about tagging status of the Malware Protection plan resource.

MalwareProtectionPlanCfnProtectedResource

S3Bucket This property is required. Pulumi.AwsNative.GuardDuty.Inputs.MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
Information about the protected S3 bucket resource.
S3Bucket This property is required. MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
Information about the protected S3 bucket resource.
s3Bucket This property is required. MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
Information about the protected S3 bucket resource.
s3Bucket This property is required. MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
Information about the protected S3 bucket resource.
s3_bucket This property is required. MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
Information about the protected S3 bucket resource.
s3Bucket This property is required. Property Map
Information about the protected S3 bucket resource.

MalwareProtectionPlanCfnProtectedResourceS3BucketProperties

BucketName string
Name of the S3 bucket.
ObjectPrefixes List<string>
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
BucketName string
Name of the S3 bucket.
ObjectPrefixes []string
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
bucketName String
Name of the S3 bucket.
objectPrefixes List<String>
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
bucketName string
Name of the S3 bucket.
objectPrefixes string[]
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
bucket_name str
Name of the S3 bucket.
object_prefixes Sequence[str]
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
bucketName String
Name of the S3 bucket.
objectPrefixes List<String>
Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.

MalwareProtectionPlanCfnStatusReasons

Code string
The status code of the Malware Protection plan.
Message string
Issue message that specifies the reason.
Code string
The status code of the Malware Protection plan.
Message string
Issue message that specifies the reason.
code String
The status code of the Malware Protection plan.
message String
Issue message that specifies the reason.
code string
The status code of the Malware Protection plan.
message string
Issue message that specifies the reason.
code str
The status code of the Malware Protection plan.
message str
Issue message that specifies the reason.
code String
The status code of the Malware Protection plan.
message String
Issue message that specifies the reason.

MalwareProtectionPlanCfnTagging

Status string
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
Status string
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
status String
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
status string
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
status str
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.
status String
Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object.

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

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

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi