Show / Hide Table of Contents

Class CfnMalwareProtectionPlanProps

Properties for defining a CfnMalwareProtectionPlan.

Inheritance
object
CfnMalwareProtectionPlanProps
Implements
ICfnMalwareProtectionPlanProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMalwareProtectionPlanProps : ICfnMalwareProtectionPlanProps
Syntax (vb)
Public Class CfnMalwareProtectionPlanProps Implements 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

Constructors

CfnMalwareProtectionPlanProps()

Properties for defining a CfnMalwareProtectionPlan.

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.

Constructors

CfnMalwareProtectionPlanProps()

Properties for defining a CfnMalwareProtectionPlan.

public CfnMalwareProtectionPlanProps()
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"
                 } }
             };

Properties

Actions

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

public object? Actions { get; set; }
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.

public object ProtectedResource { get; set; }
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.

public string Role { get; set; }
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.

public CfnMalwareProtectionPlan.ITagItemProperty[]? Tags { get; set; }
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

Implements

ICfnMalwareProtectionPlanProps
Back to top Generated by DocFX