Class CfnInvestigationGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroup>
- Enclosing class:
CfnInvestigationGroup
CfnInvestigationGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
chatbotNotificationChannels
(List<? extends Object> chatbotNotificationChannels) Use this property to integrate CloudWatch investigations with chat applications.chatbotNotificationChannels
(IResolvable chatbotNotificationChannels) Use this property to integrate CloudWatch investigations with chat applications.crossAccountConfigurations
(List<? extends Object> crossAccountConfigurations) List ofsourceRoleArn
values that have been configured for cross-account access.crossAccountConfigurations
(IResolvable crossAccountConfigurations) List ofsourceRoleArn
values that have been configured for cross-account access.encryptionConfig
(IResolvable encryptionConfig) Specifies the customer managed AWS KMS key that the investigation group uses to encrypt data, if there is one.encryptionConfig
(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Specifies the customer managed AWS KMS key that the investigation group uses to encrypt data, if there is one.investigationGroupPolicy
(String investigationGroupPolicy) Returns the JSON of the IAM resource policy associated with the specified investigation group in a string.isCloudTrailEventHistoryEnabled
(Boolean isCloudTrailEventHistoryEnabled) Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.isCloudTrailEventHistoryEnabled
(IResolvable isCloudTrailEventHistoryEnabled) Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.Specify either the name or the ARN of the investigation group that you want to view.retentionInDays
(Number retentionInDays) Specifies how long that investigation data is kept.The ARN of the IAM role that the investigation group uses for permissions to gather data.tagKeyBoundaries
(List<String> tagKeyBoundaries) Displays the custom tag keys for custom applications in your system that you have specified in the investigation group.The list of key-value pairs to associate with the 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
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.
- Parameters:
name
- Specify either the name or the ARN of the investigation group that you want to view. This parameter is required.- Returns:
this
- See Also:
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroup.Builder chatbotNotificationChannels(IResolvable 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 SNS 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 .
- Parameters:
chatbotNotificationChannels
- Use this property to integrate CloudWatch investigations with chat applications. This parameter is required.- Returns:
this
- See Also:
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroup.Builder chatbotNotificationChannels(List<? extends Object> 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 SNS 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 .
- Parameters:
chatbotNotificationChannels
- Use this property to integrate CloudWatch investigations with chat applications. This parameter is required.- Returns:
this
- See Also:
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroup.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) List ofsourceRoleArn
values that have been configured for cross-account access.- Parameters:
crossAccountConfigurations
- List ofsourceRoleArn
values that have been configured for cross-account access. This parameter is required.- Returns:
this
- See Also:
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroup.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) List ofsourceRoleArn
values that have been configured for cross-account access.- Parameters:
crossAccountConfigurations
- List ofsourceRoleArn
values that have been configured for cross-account access. This parameter is required.- Returns:
this
- See Also:
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroup.Builder encryptionConfig(IResolvable encryptionConfig) Specifies the customer managed AWS KMS 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.
- Parameters:
encryptionConfig
- Specifies the customer managed AWS KMS key that the investigation group uses to encrypt data, if there is one. This parameter is required.- Returns:
this
- See Also:
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroup.Builder encryptionConfig(CfnInvestigationGroup.EncryptionConfigMapProperty encryptionConfig) Specifies the customer managed AWS KMS 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.
- Parameters:
encryptionConfig
- Specifies the customer managed AWS KMS key that the investigation group uses to encrypt data, if there is one. This parameter is required.- Returns:
this
- See Also:
-
investigationGroupPolicy
@Stability(Stable) public CfnInvestigationGroup.Builder investigationGroupPolicy(String 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:*\"}}}]}
.- Parameters:
investigationGroupPolicy
- Returns the JSON of the IAM resource policy associated with the specified investigation group in a string. This parameter is required.- Returns:
this
- See Also:
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroup.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.The default is
true
.- Parameters:
isCloudTrailEventHistoryEnabled
- Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. This parameter is required.- Returns:
this
- See Also:
-
isCloudTrailEventHistoryEnabled
@Stability(Stable) public CfnInvestigationGroup.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.The default is
true
.- Parameters:
isCloudTrailEventHistoryEnabled
- Specifytrue
to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. This parameter is required.- Returns:
this
- See Also:
-
retentionInDays
Specifies how long that investigation data is kept.- Parameters:
retentionInDays
- Specifies how long that investigation data is kept. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The ARN of the IAM role that the investigation group uses for permissions to gather data.- Parameters:
roleArn
- The ARN of the IAM role that the investigation group uses for permissions to gather data. This parameter is required.- Returns:
this
- See Also:
-
tagKeyBoundaries
@Stability(Stable) public CfnInvestigationGroup.Builder tagKeyBoundaries(List<String> 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.
- Parameters:
tagKeyBoundaries
- Displays the custom tag keys for custom applications in your system that you have specified in the investigation group. This parameter is required.- Returns:
this
- See Also:
-
tags
The list of key-value pairs to associate with the resource.- Parameters:
tags
- The list of key-value pairs to associate with the resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroup>
- Returns:
- a newly built instance of
CfnInvestigationGroup
.
-