Class CfnInvestigationGroupPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.aiops.CfnInvestigationGroupPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:55.338Z") @Stability(Stable) public class CfnInvestigationGroupPropsMixin extends Mixin implements software.constructs.IMixin
Creates an investigation group in your account.

Creating an investigation group is a one-time setup task for each Region in your account. It is a necessary task to be able to perform investigations.

Settings in the investigation group help you centrally manage the common properties of your investigations, such as the following:

  • Who can access the investigations
  • Whether investigation data is encrypted with a customer managed AWS Key Management Service key.
  • How long investigations and their data are retained by default.

Currently, you can have one investigation group in each Region in your account. Each investigation in a Region is a part of the investigation group in that Region

To create an investigation group and set up CloudWatch investigations, you must be signed in to an IAM principal that has either the AIOpsConsoleAdminPolicy or the AdministratorAccess IAM policy attached, or to an account that has similar permissions.

You can configure CloudWatch alarms to start investigations and add events to investigations. If you create your investigation group with CreateInvestigationGroup and you want to enable alarms to do this, you must use PutInvestigationGroupPolicy to create a resource policy that grants this permission to CloudWatch alarms.

For more information about configuring CloudWatch alarms, see Using Amazon CloudWatch alarms

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.aiops.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnInvestigationGroupPropsMixin cfnInvestigationGroupPropsMixin = CfnInvestigationGroupPropsMixin.Builder.create(CfnInvestigationGroupMixinProps.builder()
         .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)
         .name("name")
         .retentionInDays(123)
         .roleArn("roleArn")
         .tagKeyBoundaries(List.of("tagKeyBoundaries"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnInvestigationGroupPropsMixin

      protected CfnInvestigationGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnInvestigationGroupPropsMixin

      protected CfnInvestigationGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnInvestigationGroupPropsMixin

      @Stability(Stable) public CfnInvestigationGroupPropsMixin(@NotNull CfnInvestigationGroupMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::AIOps::InvestigationGroup.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnInvestigationGroupPropsMixin

      @Stability(Stable) public CfnInvestigationGroupPropsMixin(@NotNull CfnInvestigationGroupMixinProps props)
      Create a mixin to apply properties to AWS::AIOps::InvestigationGroup.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnInvestigationGroupMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()