Interface CfnInvestigationGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInvestigationGroupProps.Jsii$Proxy
CfnInvestigationGroup.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aiops.*;
CfnInvestigationGroupProps cfnInvestigationGroupProps = CfnInvestigationGroupProps.builder()
.name("name")
// the properties below are optional
.chatbotNotificationChannels(List.of(ChatbotNotificationChannelProperty.builder()
.chatConfigurationArns(List.of("chatConfigurationArns"))
.snsTopicArn("snsTopicArn")
.build()))
.crossAccountConfigurations(List.of(CrossAccountConfigurationProperty.builder()
.sourceRoleArn("sourceRoleArn")
.build()))
.encryptionConfig(EncryptionConfigMapProperty.builder()
.encryptionConfigurationType("encryptionConfigurationType")
.kmsKeyId("kmsKeyId")
.build())
.investigationGroupPolicy("investigationGroupPolicy")
.isCloudTrailEventHistoryEnabled(false)
.retentionInDays(123)
.roleArn("roleArn")
.tagKeyBoundaries(List.of("tagKeyBoundaries"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInvestigationGroupPropsstatic final classAn implementation forCfnInvestigationGroupProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectUse this property to integrate CloudWatch investigations with chat applications.default ObjectList ofsourceRoleArnvalues that have been configured for cross-account access.default ObjectSpecifies the customer managed AWS KMS key that the investigation group uses to encrypt data, if there is one.default StringReturns the JSON of the IAM resource policy associated with the specified investigation group in a string.default ObjectSpecifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.getName()Specify either the name or the ARN of the investigation group that you want to view.default NumberSpecifies how long that investigation data is kept.default StringThe ARN of the IAM role that the investigation group uses for permissions to gather data.Displays the custom tag keys for custom applications in your system that you have specified in the investigation group.getTags()The list of key-value pairs to associate with the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
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.
- See Also:
-
getChatbotNotificationChannels
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 .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInvestigationGroup.ChatbotNotificationChannelProperty>- See Also:
-
getCrossAccountConfigurations
List ofsourceRoleArnvalues that have been configured for cross-account access.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInvestigationGroup.CrossAccountConfigurationProperty>- See Also:
-
getEncryptionConfig
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.
Returns union: either
IResolvableorCfnInvestigationGroup.EncryptionConfigMapProperty- See Also:
-
getInvestigationGroupPolicy
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:*\"}}}]}.- See Also:
-
getIsCloudTrailEventHistoryEnabled
Specifytrueto enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.The default is
true.Returns union: either
BooleanorIResolvable- See Also:
-
getRetentionInDays
Specifies how long that investigation data is kept.- See Also:
-
getRoleArn
The ARN of the IAM role that the investigation group uses for permissions to gather data.- See Also:
-
getTagKeyBoundaries
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.
- See Also:
-
getTags
The list of key-value pairs to associate with the resource.- See Also:
-
builder
- Returns:
- a
CfnInvestigationGroupProps.BuilderofCfnInvestigationGroupProps
-