We recommend new projects start with resources from the AWS provider.
aws-native.guardduty.MalwareProtectionPlan
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GuardDuty::MalwareProtectionPlan
Create MalwareProtectionPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MalwareProtectionPlan(name: string, args: MalwareProtectionPlanArgs, opts?: CustomResourceOptions);@overload
def MalwareProtectionPlan(resource_name: str,
                          args: MalwareProtectionPlanArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def MalwareProtectionPlan(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          protected_resource: Optional[MalwareProtectionPlanCfnProtectedResourceArgs] = None,
                          role: Optional[str] = None,
                          actions: Optional[MalwareProtectionPlanCfnActionsArgs] = None,
                          tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewMalwareProtectionPlan(ctx *Context, name string, args MalwareProtectionPlanArgs, opts ...ResourceOption) (*MalwareProtectionPlan, error)public MalwareProtectionPlan(string name, MalwareProtectionPlanArgs args, CustomResourceOptions? opts = null)
public MalwareProtectionPlan(String name, MalwareProtectionPlanArgs args)
public MalwareProtectionPlan(String name, MalwareProtectionPlanArgs args, CustomResourceOptions options)
type: aws-native:guardduty:MalwareProtectionPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MalwareProtectionPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MalwareProtectionPlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MalwareProtectionPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MalwareProtectionPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MalwareProtectionPlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MalwareProtectionPlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MalwareProtectionPlan resource accepts the following input properties:
- ProtectedResource Pulumi.Aws Native. Guard Duty. Inputs. 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.
- Actions
Pulumi.Aws Native. Guard Duty. Inputs. Malware Protection Plan Cfn Actions 
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 
List<Pulumi.Aws Native. Inputs. 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.
- ProtectedResource MalwareProtection Plan Cfn Protected Resource Args 
- 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.
- Actions
MalwareProtection Plan Cfn Actions Args 
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 
TagArgs 
- 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.
- 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.
- actions
MalwareProtection Plan Cfn Actions 
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 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.
- 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.
- actions
MalwareProtection Plan Cfn Actions 
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 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.
- protected_resource MalwareProtection Plan Cfn Protected Resource Args 
- 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.
- actions
MalwareProtection Plan Cfn Actions Args 
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 
Sequence[TagArgs] 
- 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.
- 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.
- actions Property Map
- Specifies the action that is to be applied to the Malware Protection plan resource.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the MalwareProtectionPlan resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the protected resource.
- CreatedAt string
- The timestamp when the Malware Protection plan resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan 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.
- Arn string
- Amazon Resource Name (ARN) of the protected resource.
- CreatedAt string
- The timestamp when the Malware Protection plan resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- MalwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan 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.
- arn String
- Amazon Resource Name (ARN) of the protected resource.
- createdAt String
- The timestamp when the Malware Protection plan resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- malwareProtection StringPlan Id 
- A unique identifier associated with Malware Protection plan 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.
- arn string
- Amazon Resource Name (ARN) of the protected resource.
- createdAt string
- The timestamp when the Malware Protection plan resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- malwareProtection stringPlan Id 
- A unique identifier associated with Malware Protection plan 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.
- arn str
- Amazon Resource Name (ARN) of the protected resource.
- created_at str
- The timestamp when the Malware Protection plan resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- malware_protection_ strplan_ id 
- A unique identifier associated with Malware Protection plan 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.
- arn String
- Amazon Resource Name (ARN) of the protected resource.
- createdAt String
- The timestamp when the Malware Protection plan resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- malwareProtection StringPlan Id 
- A unique identifier associated with Malware Protection plan resource.
- status String
- Status of the Malware Protection plan resource.
- statusReasons List<Property Map>
- Status details associated with the Malware Protection plan resource status.
Supporting Types
MalwareProtectionPlanCfnActions, MalwareProtectionPlanCfnActionsArgs          
- 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, MalwareProtectionPlanCfnProtectedResourceArgs            
- 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, MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgs                
- 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, MalwareProtectionPlanCfnStatusReasonsArgs            
MalwareProtectionPlanCfnTagging, MalwareProtectionPlanCfnTaggingArgs          
- 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, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.