Class CfnInvestigationGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aiops.CfnInvestigationGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroupMixinProps>
- Enclosing interface:
CfnInvestigationGroupMixinProps
@Stability(Stable)
public static final class CfnInvestigationGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvestigationGroupMixinProps>
A builder for
CfnInvestigationGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupMixinProps.getChatbotNotificationChannels()chatbotNotificationChannels(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupMixinProps.getChatbotNotificationChannels()crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupMixinProps.getCrossAccountConfigurations()crossAccountConfigurations(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupMixinProps.getCrossAccountConfigurations()encryptionConfig(CfnInvestigationGroupPropsMixin.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupMixinProps.getEncryptionConfig()encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupMixinProps.getEncryptionConfig()investigationGroupPolicy(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupMixinProps.getInvestigationGroupPolicy()isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupMixinProps.getIsCloudTrailEventHistoryEnabled()isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupMixinProps.getIsCloudTrailEventHistoryEnabled()Sets the value ofCfnInvestigationGroupMixinProps.getName()retentionInDays(Number retentionInDays) Sets the value ofCfnInvestigationGroupMixinProps.getRetentionInDays()Sets the value ofCfnInvestigationGroupMixinProps.getRoleArn()tagKeyBoundaries(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupMixinProps.getTagKeyBoundaries()Sets the value ofCfnInvestigationGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder chatbotNotificationChannels(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupMixinProps.getChatbotNotificationChannels()- Parameters:
chatbotNotificationChannels- Use this property to integrate CloudWatch investigations with chat applications. This property is an array. For the first string, specify the ARN of an Amazon topic. For the array of strings, specify the ARNs of one or more chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by AWS Chatbot .- Returns:
this
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupMixinProps.getChatbotNotificationChannels()- Parameters:
chatbotNotificationChannels- Use this property to integrate CloudWatch investigations with chat applications. This property is an array. For the first string, specify the ARN of an Amazon topic. For the array of strings, specify the ARNs of one or more chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by AWS Chatbot .- Returns:
this
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupMixinProps.getCrossAccountConfigurations()- Parameters:
crossAccountConfigurations- List ofsourceRoleArnvalues that have been configured for cross-account access.- Returns:
this
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupMixinProps.getCrossAccountConfigurations()- Parameters:
crossAccountConfigurations- List ofsourceRoleArnvalues that have been configured for cross-account access.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupMixinProps.getEncryptionConfig()- Parameters:
encryptionConfig- Specifies the customer managed AWS key that the investigation group uses to encrypt data, if there is one. If not, the investigation group uses an AWS key to encrypt the data.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder encryptionConfig(CfnInvestigationGroupPropsMixin.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupMixinProps.getEncryptionConfig()- Parameters:
encryptionConfig- Specifies the customer managed AWS key that the investigation group uses to encrypt data, if there is one. If not, the investigation group uses an AWS key to encrypt the data.- Returns:
this
-
investigationGroupPolicy
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder investigationGroupPolicy(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupMixinProps.getInvestigationGroupPolicy()- Parameters:
investigationGroupPolicy- Returns the JSON of the IAM resource policy associated with the specified investigation group in a string. For example,{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"aiops.alarms.cloudwatch.amazonaws.com\"},\"Action\":[\"aiops:CreateInvestigation\",\"aiops:CreateInvestigationEvent\"],\"Resource\":\"*\",\"Condition\":{\"StringEquals\":{\"aws:SourceAccount\":\"111122223333\"},\"ArnLike\":{\"aws:SourceArn\":\"arn:aws:cloudwatch:us-east-1:111122223333:alarm:*\"}}}]}.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupMixinProps.getIsCloudTrailEventHistoryEnabled()- Parameters:
isCloudTrailEventHistoryEnabled- Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default istrue.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupMixinProps.getIsCloudTrailEventHistoryEnabled()- Parameters:
isCloudTrailEventHistoryEnabled- Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. The default istrue.- Returns:
this
-
name
Sets the value ofCfnInvestigationGroupMixinProps.getName()- Parameters:
name- Specify either the name or the ARN of the investigation group that you want to view. This is used to set the name of the investigation group.- Returns:
this
-
retentionInDays
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder retentionInDays(Number retentionInDays) Sets the value ofCfnInvestigationGroupMixinProps.getRetentionInDays()- Parameters:
retentionInDays- Specifies how long that investigation data is kept.- Returns:
this
-
roleArn
Sets the value ofCfnInvestigationGroupMixinProps.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role that the investigation group uses for permissions to gather data.- Returns:
this
-
tagKeyBoundaries
@Stability(Stable) public CfnInvestigationGroupMixinProps.Builder tagKeyBoundaries(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupMixinProps.getTagKeyBoundaries()- Parameters:
tagKeyBoundaries- Displays the custom tag keys for custom applications in your system that you have specified in the investigation group. Resource tags help CloudWatch investigations narrow the search space when it is unable to discover definite relationships between resources.- Returns:
this
-
tags
Sets the value ofCfnInvestigationGroupMixinProps.getTags()- Parameters:
tags- The list of key-value pairs to associate with the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroupMixinProps>- Returns:
- a new instance of
CfnInvestigationGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-