Class CfnInvestigationGroup.Builder
java.lang.Object
software.amazon.awscdk.services.aiops.CfnInvestigationGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroup>
- Enclosing class:
CfnInvestigationGroup
@Stability(Stable)
public static final class CfnInvestigationGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvestigationGroup>
A fluent builder for
CfnInvestigationGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) An array of key-value pairs of notification channels to apply to this resource.chatbotNotificationChannels(IResolvable chatbotNotificationChannels) An array of key-value pairs of notification channels to apply to this resource.crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) An array of cross account configurations.crossAccountConfigurations(IResolvable crossAccountConfigurations) An array of cross account configurations.encryptionConfig(IResolvable encryptionConfig) encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) investigationGroupPolicy(String investigationGroupPolicy) Investigation Group policy.isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Flag to enable cloud trail history.isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Flag to enable cloud trail history.User friendly name for resources.retentionInDays(Number retentionInDays) The number of days to retain the investigation group.The Investigation Role's ARN.tagKeyBoundaries(List<String> tagKeyBoundaries) An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnInvestigationGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnInvestigationGroup.Builder.
-
name
User friendly name for resources.- Parameters:
name- User friendly name for resources. This parameter is required.- Returns:
this- See Also:
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroup.Builder chatbotNotificationChannels(IResolvable chatbotNotificationChannels) An array of key-value pairs of notification channels to apply to this resource.- Parameters:
chatbotNotificationChannels- An array of key-value pairs of notification channels to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroup.Builder chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) An array of key-value pairs of notification channels to apply to this resource.- Parameters:
chatbotNotificationChannels- An array of key-value pairs of notification channels to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroup.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) An array of cross account configurations.- Parameters:
crossAccountConfigurations- An array of cross account configurations. This parameter is required.- Returns:
this- See Also:
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroup.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) An array of cross account configurations.- Parameters:
crossAccountConfigurations- An array of cross account configurations. This parameter is required.- Returns:
this- See Also:
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroup.Builder encryptionConfig(IResolvable encryptionConfig) - Parameters:
encryptionConfig- This parameter is required.- Returns:
this- See Also:
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroup.Builder encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) - Parameters:
encryptionConfig- This parameter is required.- Returns:
this- See Also:
-
investigationGroupPolicy
@Stability(Stable) public CfnInvestigationGroup.Builder investigationGroupPolicy(String investigationGroupPolicy) Investigation Group policy.- Parameters:
investigationGroupPolicy- Investigation Group policy. This parameter is required.- Returns:
this- See Also:
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroup.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Flag to enable cloud trail history.- Parameters:
isCloudTrailEventHistoryEnabled- Flag to enable cloud trail history. This parameter is required.- Returns:
this- See Also:
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroup.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Flag to enable cloud trail history.- Parameters:
isCloudTrailEventHistoryEnabled- Flag to enable cloud trail history. This parameter is required.- Returns:
this- See Also:
-
retentionInDays
The number of days to retain the investigation group.- Parameters:
retentionInDays- The number of days to retain the investigation group. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Investigation Role's ARN.- Parameters:
roleArn- The Investigation Role's ARN. This parameter is required.- Returns:
this- See Also:
-
tagKeyBoundaries
@Stability(Stable) public CfnInvestigationGroup.Builder tagKeyBoundaries(List<String> tagKeyBoundaries) - Parameters:
tagKeyBoundaries- This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroup>- Returns:
- a newly built instance of
CfnInvestigationGroup.
-