Interface CfnMalwareProtectionPlanProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMalwareProtectionPlanProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:20.005Z")
@Stability(Stable)
public interface CfnMalwareProtectionPlanProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMalwareProtectionPlan
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.guardduty.*; CfnMalwareProtectionPlanProps cfnMalwareProtectionPlanProps = CfnMalwareProtectionPlanProps.builder() .protectedResource(CFNProtectedResourceProperty.builder() .s3Bucket(S3BucketProperty.builder() .bucketName("bucketName") .objectPrefixes(List.of("objectPrefixes")) .build()) .build()) .role("role") // the properties below are optional .actions(CFNActionsProperty.builder() .tagging(CFNTaggingProperty.builder() .status("status") .build()) .build()) .tags(List.of(TagItemProperty.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMalwareProtectionPlanProps
static final class
An implementation forCfnMalwareProtectionPlanProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the action that is to be applied to the Malware Protection plan resource.Information about the protected resource.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.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
-
getProtectedResource
Information about the protected resource.Presently,
S3Bucket
is the only supported protected resource.- 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:
-
getActions
Specifies the action that is to be applied to the Malware Protection plan resource.- See Also:
-
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
-