CfnInvestigationGroupProps Struct
Properties for defining a CfnInvestigationGroup.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aiops as aiops } from 'aws-cdk-lib';
const cfnInvestigationGroupProps: aiops.CfnInvestigationGroupProps = {
name: 'name',
// the properties below are optional
chatbotNotificationChannels: [{
chatConfigurationArns: ['chatConfigurationArns'],
snsTopicArn: 'snsTopicArn',
}],
crossAccountConfigurations: [{
sourceRoleArn: 'sourceRoleArn',
}],
encryptionConfig: {
encryptionConfigurationType: 'encryptionConfigurationType',
kmsKeyId: 'kmsKeyId',
},
investigationGroupPolicy: 'investigationGroupPolicy',
isCloudTrailEventHistoryEnabled: false,
retentionInDays: 123,
roleArn: 'roleArn',
tagKeyBoundaries: ['tagKeyBoundaries'],
tags: [{
key: 'key',
value: 'value',
}],
};
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aiops as aiops
cfn_investigation_group_props = aiops.CfnInvestigationGroupProps(
name="name",
# the properties below are optional
chatbot_notification_channels=[aiops.CfnInvestigationGroup.ChatbotNotificationChannelProperty(
chat_configuration_arns=["chatConfigurationArns"],
sns_topic_arn="snsTopicArn"
)],
cross_account_configurations=[aiops.CfnInvestigationGroup.CrossAccountConfigurationProperty(
source_role_arn="sourceRoleArn"
)],
encryption_config=aiops.CfnInvestigationGroup.EncryptionConfigMapProperty(
encryption_configuration_type="encryptionConfigurationType",
kms_key_id="kmsKeyId"
),
investigation_group_policy="investigationGroupPolicy",
is_cloud_trail_event_history_enabled=False,
retention_in_days=123,
role_arn="roleArn",
tag_key_boundaries=["tagKeyBoundaries"],
tags=[CfnTag(
key="key",
value="value"
)]
)
// 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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AIOps;
var cfnInvestigationGroupProps = new CfnInvestigationGroupProps {
Name = "name",
// the properties below are optional
ChatbotNotificationChannels = new [] { new ChatbotNotificationChannelProperty {
ChatConfigurationArns = new [] { "chatConfigurationArns" },
SnsTopicArn = "snsTopicArn"
} },
CrossAccountConfigurations = new [] { new CrossAccountConfigurationProperty {
SourceRoleArn = "sourceRoleArn"
} },
EncryptionConfig = new EncryptionConfigMapProperty {
EncryptionConfigurationType = "encryptionConfigurationType",
KmsKeyId = "kmsKeyId"
},
InvestigationGroupPolicy = "investigationGroupPolicy",
IsCloudTrailEventHistoryEnabled = false,
RetentionInDays = 123,
RoleArn = "roleArn",
TagKeyBoundaries = new [] { "tagKeyBoundaries" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnInvestigationGroupProps := &CfnInvestigationGroupProps{
Name: jsii.String("name"),
// the properties below are optional
ChatbotNotificationChannels: []interface{}{
&ChatbotNotificationChannelProperty{
ChatConfigurationArns: []*string{
jsii.String("chatConfigurationArns"),
},
SnsTopicArn: jsii.String("snsTopicArn"),
},
},
CrossAccountConfigurations: []interface{}{
&CrossAccountConfigurationProperty{
SourceRoleArn: jsii.String("sourceRoleArn"),
},
},
EncryptionConfig: &EncryptionConfigMapProperty{
EncryptionConfigurationType: jsii.String("encryptionConfigurationType"),
KmsKeyId: jsii.String("kmsKeyId"),
},
InvestigationGroupPolicy: jsii.String("investigationGroupPolicy"),
IsCloudTrailEventHistoryEnabled: jsii.Boolean(false),
RetentionInDays: jsii.Number(123),
RoleArn: jsii.String("roleArn"),
TagKeyBoundaries: []*string{
jsii.String("tagKeyBoundaries"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
chatbotNotificationChannelsoptionalIResolvable | IResolvable | CfnInvestigationGroup.chatbot_notification_channelsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ChatbotNotificationChannelProperty]]]chatbotNotificationChannelsoptionalIResolvableChatbotNotificationChannelsoptionalIResolvableChatbotNotificationChannelsoptionalinterface{} #notes
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 .
crossAccountConfigurationsoptionalIResolvable | IResolvable | CfnInvestigationGroup.cross_account_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CrossAccountConfigurationProperty]]]crossAccountConfigurationsoptionalIResolvableCrossAccountConfigurationsoptionalIResolvableCrossAccountConfigurationsoptionalinterface{} #encryptionConfigoptionalIResolvable | CfnInvestigationGroup.encryption_configoptionaltyping.Union[IResolvable, EncryptionConfigMapProperty]encryptionConfigoptionalIResolvableEncryptionConfigoptionalIResolvableEncryptionConfigoptionalinterface{} #If not, the investigation group uses an AWS key to encrypt the data.
investigationGroupPolicyoptionalstringinvestigation_group_policyoptionalstrinvestigationGroupPolicyoptionalStringInvestigationGroupPolicyoptionalstringInvestigationGroupPolicyoptional*string #notes
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:*\"}}}]} .
isCloudTrailEventHistoryEnabledoptionalboolean | IResolvableis_cloud_trail_event_history_enabledoptionaltyping.Union[bool, IResolvable]isCloudTrailEventHistoryEnabledoptionalBooleanIsCloudTrailEventHistoryEnabledoptionalboolIsCloudTrailEventHistoryEnabledoptionalinterface{} #The default is true .
This is used to set the name of the investigation group.
retentionInDaysoptionalnumberretention_in_daysoptionalint | floatretentionInDaysoptionalNumberRetentionInDaysoptionaldoubleRetentionInDaysoptional*float64 #roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #tagKeyBoundariesoptionalstring[]tag_key_boundariesoptionaltyping.List[str]tagKeyBoundariesoptionalList<String>TagKeyBoundariesoptionalstring[]TagKeyBoundariesoptional*[]*string #Resource tags help CloudWatch investigations narrow the search space when it is unable to discover definite relationships between resources.