We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.guardduty.getMalwareProtectionPlan
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 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>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]func LookupMalwareProtectionPlan(ctx *Context, args *LookupMalwareProtectionPlanArgs, opts ...InvokeOption) (*LookupMalwareProtectionPlanResult, error)
func LookupMalwareProtectionPlanOutput(ctx *Context, args *LookupMalwareProtectionPlanOutputArgs, opts ...InvokeOption) LookupMalwareProtectionPlanResultOutput> 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)
}public static CompletableFuture<GetMalwareProtectionPlanResult> getMalwareProtectionPlan(GetMalwareProtectionPlanArgs args, InvokeOptions options)
public static Output<GetMalwareProtectionPlanResult> getMalwareProtectionPlan(GetMalwareProtectionPlanArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:guardduty:getMalwareProtectionPlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- malwareProtection StringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- malwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- malware_protection_ strplan_ id 
- A unique identifier associated with Malware Protection plan resource.
- malwareProtection StringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
getMalwareProtectionPlan Result
The following output properties are available:
- Actions
Pulumi.Aws Native. Guard Duty. Outputs. Malware Protection Plan Cfn Actions 
- 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.
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- ProtectedResource Pulumi.Aws Native. Guard Duty. Outputs. Malware Protection Plan Cfn Protected Resource 
- 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.Aws Native. Guard Duty. Outputs. Malware Protection Plan Cfn Status Reasons> 
- Status details associated with the Malware Protection plan resource status.
- 
List<Pulumi.Aws Native. 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
MalwareProtection Plan Cfn Actions 
- 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.
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- ProtectedResource MalwareProtection Plan Cfn Protected Resource 
- 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 []MalwareProtection Plan Cfn Status Reasons 
- Status details associated with the Malware Protection plan resource status.
- 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
MalwareProtection Plan Cfn Actions 
- 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.
- malwareProtection StringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- protectedResource MalwareProtection Plan Cfn Protected Resource 
- 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<MalwareProtection Plan Cfn Status Reasons> 
- Status details associated with the Malware Protection plan resource status.
- 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
MalwareProtection Plan Cfn Actions 
- 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.
- malwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- protectedResource MalwareProtection Plan Cfn Protected Resource 
- 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 MalwareProtection Plan Cfn Status Reasons[] 
- Status details associated with the Malware Protection plan resource status.
- 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
MalwareProtection Plan Cfn Actions 
- 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_ strplan_ id 
- A unique identifier associated with Malware Protection plan resource.
- protected_resource MalwareProtection Plan Cfn Protected Resource 
- 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[MalwareProtection Plan Cfn Status Reasons] 
- Status details associated with the Malware Protection plan resource status.
- 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.
- malwareProtection StringPlan Id 
- 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.
- 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.Aws Native. Guard Duty. Inputs. Malware Protection Plan Cfn Tagging 
- Contains information about tagging status of the Malware Protection plan resource.
- Tagging
MalwareProtection Plan Cfn Tagging 
- Contains information about tagging status of the Malware Protection plan resource.
- tagging
MalwareProtection Plan Cfn Tagging 
- Contains information about tagging status of the Malware Protection plan resource.
- tagging
MalwareProtection Plan Cfn Tagging 
- Contains information about tagging status of the Malware Protection plan resource.
- tagging
MalwareProtection Plan Cfn Tagging 
- 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
Pulumi.Aws Native. Guard Duty. Inputs. Malware Protection Plan Cfn Protected Resource S3Bucket Properties 
- Information about the protected S3 bucket resource.
- S3Bucket
MalwareProtection Plan Cfn Protected Resource S3Bucket Properties 
- Information about the protected S3 bucket resource.
- s3Bucket
MalwareProtection Plan Cfn Protected Resource S3Bucket Properties 
- Information about the protected S3 bucket resource.
- s3Bucket
MalwareProtection Plan Cfn Protected Resource S3Bucket Properties 
- Information about the protected S3 bucket resource.
- s3_bucket MalwareProtection Plan Cfn Protected Resource S3Bucket Properties 
- Information about the protected S3 bucket resource.
- s3Bucket 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     
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
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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
