Class CfnInvestigationGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroupPropsMixin>
- Enclosing class:
CfnInvestigationGroupPropsMixin
CfnInvestigationGroupPropsMixin.-
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.create()create(CfnPropertyMixinOptions options) crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) List ofsourceRoleArnvalues that have been configured for cross-account access.crossAccountConfigurations(IResolvable crossAccountConfigurations) List ofsourceRoleArnvalues that have been configured for cross-account access.encryptionConfig(CfnInvestigationGroupPropsMixin.EncryptionConfigMapProperty encryptionConfig) Specifies the customer managed AWS key that the investigation group uses to encrypt data, if there is one.encryptionConfig(IResolvable encryptionConfig) Specifies the customer managed AWS 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) Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Specifytrueto 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 CfnInvestigationGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnInvestigationGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnInvestigationGroupPropsMixin.Builder.
-
chatbotNotificationChannels
@Stability(Stable) public CfnInvestigationGroupPropsMixin.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 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 CfnInvestigationGroupPropsMixin.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 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 CfnInvestigationGroupPropsMixin.Builder crossAccountConfigurations(IResolvable crossAccountConfigurations) List ofsourceRoleArnvalues that have been configured for cross-account access.- Parameters:
crossAccountConfigurations- List ofsourceRoleArnvalues that have been configured for cross-account access. This parameter is required.- Returns:
this- See Also:
-
crossAccountConfigurations
@Stability(Stable) public CfnInvestigationGroupPropsMixin.Builder crossAccountConfigurations(List<? extends Object> crossAccountConfigurations) List ofsourceRoleArnvalues that have been configured for cross-account access.- Parameters:
crossAccountConfigurations- List ofsourceRoleArnvalues that have been configured for cross-account access. This parameter is required.- Returns:
this- See Also:
-
encryptionConfig
@Stability(Stable) public CfnInvestigationGroupPropsMixin.Builder encryptionConfig(IResolvable 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.
- Parameters:
encryptionConfig- Specifies the customer managed AWS 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 CfnInvestigationGroupPropsMixin.Builder encryptionConfig(CfnInvestigationGroupPropsMixin.EncryptionConfigMapProperty 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.
- Parameters:
encryptionConfig- Specifies the customer managed AWS 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 CfnInvestigationGroupPropsMixin.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 CfnInvestigationGroupPropsMixin.Builder isCloudTrailEventHistoryEnabled(Boolean isCloudTrailEventHistoryEnabled) Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.The default is
true.- Parameters:
isCloudTrailEventHistoryEnabled- Specifytrueto 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 CfnInvestigationGroupPropsMixin.Builder isCloudTrailEventHistoryEnabled(IResolvable isCloudTrailEventHistoryEnabled) Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.The default is
true.- Parameters:
isCloudTrailEventHistoryEnabled- Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail. This parameter is required.- Returns:
this- See Also:
-
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:
-
retentionInDays
@Stability(Stable) public CfnInvestigationGroupPropsMixin.Builder retentionInDays(Number 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 CfnInvestigationGroupPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroupPropsMixin>- Returns:
- a newly built instance of
CfnInvestigationGroupPropsMixin.
-