Interface CfnMalwareProtectionPlanMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMalwareProtectionPlanMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.951Z")
@Stability(Stable)
public interface CfnMalwareProtectionPlanMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnMalwareProtectionPlanPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.guardduty.*;
CfnMalwareProtectionPlanMixinProps cfnMalwareProtectionPlanMixinProps = CfnMalwareProtectionPlanMixinProps.builder()
.actions(CFNActionsProperty.builder()
.tagging(CFNTaggingProperty.builder()
.status("status")
.build())
.build())
.protectedResource(CFNProtectedResourceProperty.builder()
.s3Bucket(S3BucketProperty.builder()
.bucketName("bucketName")
.objectPrefixes(List.of("objectPrefixes"))
.build())
.build())
.role("role")
.tags(List.of(TagItemProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMalwareProtectionPlanMixinPropsstatic final classAn implementation forCfnMalwareProtectionPlanMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies the action that is to be applied to the Malware Protection plan resource.default ObjectInformation about the protected resource.default StringgetRole()Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.getTags()The tags to be added to the created Malware Protection plan resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
Specifies the action that is to be applied to the Malware Protection plan resource.Returns union: either
IResolvableorCfnMalwareProtectionPlanPropsMixin.CFNActionsProperty- See Also:
-
getProtectedResource
Information about the protected resource.Presently,
S3Bucketis the only supported protected resource.Returns union: either
IResolvableorCfnMalwareProtectionPlanPropsMixin.CFNProtectedResourceProperty- See Also:
-
getRole
Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.To find the ARN of your IAM role, go to the IAM console, and select the role name for details.
- See Also:
-
getTags
@Stability(Stable) @Nullable default List<CfnMalwareProtectionPlanPropsMixin.TagItemProperty> getTags()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.
- See Also:
-
builder
-