Class CfnMalwareProtectionPlanPropsMixin
Creates a new Malware Protection plan for the protected resource.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnMalwareProtectionPlanPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMalwareProtectionPlanPropsMixin Inherits Mixin Implements IMixin
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins;
var cfnMalwareProtectionPlanPropsMixin = new CfnMalwareProtectionPlanPropsMixin(new CfnMalwareProtectionPlanMixinProps {
Actions = new CFNActionsProperty {
Tagging = new CFNTaggingProperty {
Status = "status"
}
},
ProtectedResource = new CFNProtectedResourceProperty {
S3Bucket = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
}
},
Role = "role",
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnMalwareProtectionPlanPropsMixin(ICfnMalwareProtectionPlanMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a new Malware Protection plan for the protected resource. |
| Props | Creates a new Malware Protection plan for the protected resource. |
| Strategy | Creates a new Malware Protection plan for the protected resource. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnMalwareProtectionPlanPropsMixin(ICfnMalwareProtectionPlanMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::GuardDuty::MalwareProtectionPlan.
public CfnMalwareProtectionPlanPropsMixin(ICfnMalwareProtectionPlanMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnMalwareProtectionPlanMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a new Malware Protection plan for the protected resource.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins;
var cfnMalwareProtectionPlanPropsMixin = new CfnMalwareProtectionPlanPropsMixin(new CfnMalwareProtectionPlanMixinProps {
Actions = new CFNActionsProperty {
Tagging = new CFNTaggingProperty {
Status = "status"
}
},
ProtectedResource = new CFNProtectedResourceProperty {
S3Bucket = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
}
},
Role = "role",
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a new Malware Protection plan for the protected resource.
protected virtual ICfnMalwareProtectionPlanMixinProps Props { get; }
Property Value
ICfnMalwareProtectionPlanMixinProps
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins;
var cfnMalwareProtectionPlanPropsMixin = new CfnMalwareProtectionPlanPropsMixin(new CfnMalwareProtectionPlanMixinProps {
Actions = new CFNActionsProperty {
Tagging = new CFNTaggingProperty {
Status = "status"
}
},
ProtectedResource = new CFNProtectedResourceProperty {
S3Bucket = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
}
},
Role = "role",
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a new Malware Protection plan for the protected resource.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins;
var cfnMalwareProtectionPlanPropsMixin = new CfnMalwareProtectionPlanPropsMixin(new CfnMalwareProtectionPlanMixinProps {
Actions = new CFNActionsProperty {
Tagging = new CFNTaggingProperty {
Status = "status"
}
},
ProtectedResource = new CFNProtectedResourceProperty {
S3Bucket = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
}
},
Role = "role",
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
When you create a Malware Protection plan, the AWS service terms for GuardDuty Malware Protection will apply.
CloudformationResource: AWS::GuardDuty::MalwareProtectionPlan
Mixin: true
ExampleMetadata: fixture=_generated