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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.guardduty.getMalwareProtectionPlan

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:guardduty:getMalwareProtectionPlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MalwareProtectionPlanId string
    A unique identifier associated with Malware Protection plan resource.
    MalwareProtectionPlanId string
    A unique identifier associated with Malware Protection plan resource.
    malwareProtectionPlanId String
    A unique identifier associated with Malware Protection plan resource.
    malwareProtectionPlanId string
    A unique identifier associated with Malware Protection plan resource.
    malware_protection_plan_id str
    A unique identifier associated with Malware Protection plan resource.
    malwareProtectionPlanId 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 MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
    Information about the protected S3 bucket resource.
    s3Bucket MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
    Information about the protected S3 bucket resource.
    s3Bucket MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
    Information about the protected S3 bucket resource.
    s3_bucket MalwareProtectionPlanCfnProtectedResourceS3BucketProperties
    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

    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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi