Class CfnMalwareProtectionPlanPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnMalwareProtectionPlanPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin>
- Enclosing class:
CfnMalwareProtectionPlanPropsMixin
@Stability(Stable)
public static final class CfnMalwareProtectionPlanPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin>
A fluent builder for
CfnMalwareProtectionPlanPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the action that is to be applied to the Malware Protection plan resource.actions(IResolvable actions) Specifies the action that is to be applied to the Malware Protection plan resource.build()create()create(CfnPropertyMixinOptions options) protectedResource(CfnMalwareProtectionPlanPropsMixin.CFNProtectedResourceProperty protectedResource) Information about the protected resource.protectedResource(IResolvable protectedResource) Information about the protected resource.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(List<? extends CfnMalwareProtectionPlanPropsMixin.TagItemProperty> tags) The tags to be added to the created Malware Protection plan resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMalwareProtectionPlanPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMalwareProtectionPlanPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMalwareProtectionPlanPropsMixin.Builder.
-
actions
Specifies the action that is to be applied to the Malware Protection plan resource.- Parameters:
actions- Specifies the action that is to be applied to the Malware Protection plan resource. This parameter is required.- Returns:
this- See Also:
-
actions
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.Builder actions(CfnMalwareProtectionPlanPropsMixin.CFNActionsProperty actions) Specifies the action that is to be applied to the Malware Protection plan resource.- Parameters:
actions- Specifies the action that is to be applied to the Malware Protection plan resource. This parameter is required.- Returns:
this- See Also:
-
protectedResource
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.Builder protectedResource(IResolvable protectedResource) Information about the protected resource.Presently,
S3Bucketis the only supported protected resource.- Parameters:
protectedResource- Information about the protected resource. This parameter is required.- Returns:
this- See Also:
-
protectedResource
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.Builder protectedResource(CfnMalwareProtectionPlanPropsMixin.CFNProtectedResourceProperty protectedResource) Information about the protected resource.Presently,
S3Bucketis the only supported protected resource.- Parameters:
protectedResource- Information about the protected resource. This parameter is required.- Returns:
this- See Also:
-
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.To find the ARN of your IAM role, go to the IAM console, and select the role name for details.
- Parameters:
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. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnMalwareProtectionPlanPropsMixin.Builder tags(List<? extends CfnMalwareProtectionPlanPropsMixin.TagItemProperty> tags) 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.
- Parameters:
tags- The tags to be added to the created Malware Protection plan resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMalwareProtectionPlanPropsMixin>- Returns:
- a newly built instance of
CfnMalwareProtectionPlanPropsMixin.
-