Show / Hide Table of Contents

Interface ICfnMalwareProtectionPlanProps

Properties for defining a CfnMalwareProtectionPlan.

Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnMalwareProtectionPlanProps
Syntax (vb)
Public Interface ICfnMalwareProtectionPlanProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.GuardDuty;

             var cfnMalwareProtectionPlanProps = new CfnMalwareProtectionPlanProps {
                 ProtectedResource = new CFNProtectedResourceProperty {
                     S3Bucket = new S3BucketProperty {
                         BucketName = "bucketName",
                         ObjectPrefixes = new [] { "objectPrefixes" }
                     }
                 },
                 Role = "role",

                 // the properties below are optional
                 Actions = new CFNActionsProperty {
                     Tagging = new CFNTaggingProperty {
                         Status = "status"
                     }
                 },
                 Tags = new [] { new TagItemProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Properties

Actions

Specifies the action that is to be applied to the Malware Protection plan resource.

ProtectedResource

Information about the protected resource.

Role

Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.

Tags

The tags to be added to the created Malware Protection plan resource.

Properties

Actions

Specifies the action that is to be applied to the Malware Protection plan resource.

object? Actions { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-actions

Type union: either IResolvable or CfnMalwareProtectionPlan.ICFNActionsProperty

ProtectedResource

Information about the protected resource.

object ProtectedResource { get; }
Property Value

object

Remarks

Presently, S3Bucket is the only supported protected resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-protectedresource

Type union: either IResolvable or CfnMalwareProtectionPlan.ICFNProtectedResourceProperty

Role

Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.

string Role { get; }
Property Value

string

Remarks

To find the ARN of your IAM role, go to the IAM console, and select the role name for details.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-role

Tags

The tags to be added to the created Malware Protection plan resource.

CfnMalwareProtectionPlan.ITagItemProperty[]? Tags { get; }
Property Value

ITagItemProperty[]

Remarks

Each tag consists of a key and an optional value, both of which you need to specify.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-tags

Back to top Generated by DocFX