Skip to content
v2.278.0

CfnInvestigationGroupProps Struct ​

Properties for defining a CfnInvestigationGroup.

Example ​

ts
// 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',
  }],
};
python
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"
    )]
)
java
// 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();
csharp
// 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"
    } }
};
go
// 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.ChatbotNotificationChannelProperty[]chatbot_notification_channelsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ChatbotNotificationChannelProperty]]]chatbotNotificationChannelsoptionalIResolvableChatbotNotificationChannelsoptionalIResolvableChatbotNotificationChannelsoptionalinterface{} #
Use this property to integrate CloudWatch investigations with chat applications.
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.CrossAccountConfigurationProperty[]cross_account_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CrossAccountConfigurationProperty]]]crossAccountConfigurationsoptionalIResolvableCrossAccountConfigurationsoptionalIResolvableCrossAccountConfigurationsoptionalinterface{} #
List of `sourceRoleArn` values that have been configured for cross-account access.
encryptionConfigoptionalIResolvable | CfnInvestigationGroup.EncryptionConfigMapPropertyencryption_configoptionaltyping.Union[IResolvable, EncryptionConfigMapProperty]encryptionConfigoptionalIResolvableEncryptionConfigoptionalIResolvableEncryptionConfigoptionalinterface{} #
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.

investigationGroupPolicyoptionalstringinvestigation_group_policyoptionalstrinvestigationGroupPolicyoptionalStringInvestigationGroupPolicyoptionalstringInvestigationGroupPolicyoptional*string #
Returns the JSON of the IAM resource policy associated with the specified investigation group in a 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{} #
Specify `true` to enable CloudWatch investigations to have access to change events that are recorded by CloudTrail.

The default is true .

namestringnamestrnameStringNamestringName*string required #
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.

retentionInDaysoptionalnumberretention_in_daysoptionalint | floatretentionInDaysoptionalNumberRetentionInDaysoptionaldoubleRetentionInDaysoptional*float64 #
Specifies how long that investigation data is kept.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #
The ARN of the IAM role that the investigation group uses for permissions to gather data.
tagKeyBoundariesoptionalstring[]tag_key_boundariesoptionaltyping.List[str]tagKeyBoundariesoptionalList<String>TagKeyBoundariesoptionalstring[]TagKeyBoundariesoptional*[]*string #
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.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The list of key-value pairs to associate with the resource.