Class CfnInvestigationGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.aiops.CfnInvestigationGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroupProps>
- Enclosing interface:
CfnInvestigationGroupProps
@Stability(Stable)
public static final class CfnInvestigationGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvestigationGroupProps>
A builder for
CfnInvestigationGroupProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chatbotNotificationChannels
(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()
chatbotNotificationChannels
(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()
crossAccountConfigurations
(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()
crossAccountConfigurations
(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()
encryptionConfig
(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()
encryptionConfig
(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()
investigationGroupPolicy
(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupProps.getInvestigationGroupPolicy()
isCloudTrailEventHistoryEnabled
(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()
isCloudTrailEventHistoryEnabled
(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()
Sets the value ofCfnInvestigationGroupProps.getName()
retentionInDays
(Number retentionInDays) Sets the value ofCfnInvestigationGroupProps.getRetentionInDays()
Sets the value ofCfnInvestigationGroupProps.getRoleArn()
tagKeyBoundaries
(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupProps.getTagKeyBoundaries()
Sets the value ofCfnInvestigationGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnInvestigationGroupProps.getName()
- Parameters:
name
- A name for the investigation group. This parameter is required.- Returns:
this
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupProps.Builder chatbotNotificationChannels(IResolvable chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()
- Parameters:
chatbotNotificationChannels
- Use this property to integrate Amazon Q Developer operational investigations with Amazon Q in chat applications. This property is an array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in 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 CfnInvestigationGroupProps.Builder chatbotNotificationChannels(List<? extends Object> chatbotNotificationChannels) Sets the value ofCfnInvestigationGroupProps.getChatbotNotificationChannels()
- Parameters:
chatbotNotificationChannels
- Use this property to integrate Amazon Q Developer operational investigations with Amazon Q in chat applications. This property is an array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in 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 CfnInvestigationGroupProps.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()
- Parameters:
crossAccountConfigurations
- An array of cross account configurations.- Returns:
this
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupProps.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) Sets the value ofCfnInvestigationGroupProps.getCrossAccountConfigurations()
- Parameters:
crossAccountConfigurations
- An array of cross account configurations.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupProps.Builder encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()
- Parameters:
encryptionConfig
- Use this property to specify a customer managed AWS KMS key to encrypt your investigation data. If you omit this property, Amazon Q Developer operational investigations will use an AWS key to encrypt the data. For more information, see Encryption of investigation data .- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupProps.Builder encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Sets the value ofCfnInvestigationGroupProps.getEncryptionConfig()
- Parameters:
encryptionConfig
- Use this property to specify a customer managed AWS KMS key to encrypt your investigation data. If you omit this property, Amazon Q Developer operational investigations will use an AWS key to encrypt the data. For more information, see Encryption of investigation data .- Returns:
this
-
investigationGroupPolicy
@Stability(Stable) public CfnInvestigationGroupProps.Builder investigationGroupPolicy(String investigationGroupPolicy) Sets the value ofCfnInvestigationGroupProps.getInvestigationGroupPolicy()
- Parameters:
investigationGroupPolicy
- Investigation Group policy.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupProps.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()
- Parameters:
isCloudTrailEventHistoryEnabled
- Specifytrue
to enable Amazon Q Developer operational investigations to have access to change events that are recorded by CloudTrail . The default istrue
.- Returns:
this
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroupProps.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Sets the value ofCfnInvestigationGroupProps.getIsCloudTrailEventHistoryEnabled()
- Parameters:
isCloudTrailEventHistoryEnabled
- Specifytrue
to enable Amazon Q Developer operational investigations to have access to change events that are recorded by CloudTrail . The default istrue
.- Returns:
this
-
retentionInDays
@Stability(Stable) public CfnInvestigationGroupProps.Builder retentionInDays(Number retentionInDays) Sets the value ofCfnInvestigationGroupProps.getRetentionInDays()
- Parameters:
retentionInDays
- Specify how long that investigation data is kept. For more information, see Operational investigation data retention . If you omit this parameter, the default of 90 days is used.- Returns:
this
-
roleArn
Sets the value ofCfnInvestigationGroupProps.getRoleArn()
- Parameters:
roleArn
- Specify the ARN of the IAM role that Amazon Q Developer operational investigations will use when it gathers investigation data. The permissions in this role determine which of your resources that Amazon Q Developer operational investigations will have access to during investigations.For more information, see How to control what data Amazon Q has access to during investigations .
- Returns:
this
-
tagKeyBoundaries
@Stability(Stable) public CfnInvestigationGroupProps.Builder tagKeyBoundaries(List<String> tagKeyBoundaries) Sets the value ofCfnInvestigationGroupProps.getTagKeyBoundaries()
- Parameters:
tagKeyBoundaries
- Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.You don't need to enter tags created by myApplications or AWS CloudFormation , because Amazon Q can automatically detect those tags.
- Returns:
this
-
tags
Sets the value ofCfnInvestigationGroupProps.getTags()
- Parameters:
tags
- A list of key-value pairs to associate with the investigation group. You can associate as many as 50 tags with an investigation group.Tags can help you organize and categorize your resources.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroupProps>
- Returns:
- a new instance of
CfnInvestigationGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-