Class CfnInvestigationGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-04T12:43:00.937Z") @Stability(Stable) public class CfnInvestigationGroup extends CfnResource implements IInspectable, ITaggableV2
Definition of AWS::AIOps::InvestigationGroup Resource Type.

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.*;
 CfnInvestigationGroup cfnInvestigationGroup = CfnInvestigationGroup.Builder.create(this, "MyCfnInvestigationGroup")
         .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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnInvestigationGroup

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

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

      @Stability(Stable) public CfnInvestigationGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnInvestigationGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Investigation Group's ARN.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp value.
    • getAttrCreatedBy

      @Stability(Stable) @NotNull public String getAttrCreatedBy()
      User friendly name for resources.
    • getAttrLastModifiedAt

      @Stability(Stable) @NotNull public String getAttrLastModifiedAt()
      User friendly name for resources.
    • getAttrLastModifiedBy

      @Stability(Stable) @NotNull public String getAttrLastModifiedBy()
      User friendly name for resources.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getName

      @Stability(Stable) @NotNull public String getName()
      User friendly name for resources.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      User friendly name for resources.
    • getChatbotNotificationChannels

      @Stability(Stable) @Nullable public Object getChatbotNotificationChannels()
      An array of key-value pairs of notification channels to apply to this resource.
    • setChatbotNotificationChannels

      @Stability(Stable) public void setChatbotNotificationChannels(@Nullable IResolvable value)
      An array of key-value pairs of notification channels to apply to this resource.
    • setChatbotNotificationChannels

      @Stability(Stable) public void setChatbotNotificationChannels(@Nullable List<Object> value)
      An array of key-value pairs of notification channels to apply to this resource.
    • getCrossAccountConfigurations

      @Stability(Stable) @Nullable public Object getCrossAccountConfigurations()
      An array of cross account configurations.
    • setCrossAccountConfigurations

      @Stability(Stable) public void setCrossAccountConfigurations(@Nullable IResolvable value)
      An array of cross account configurations.
    • setCrossAccountConfigurations

      @Stability(Stable) public void setCrossAccountConfigurations(@Nullable List<Object> value)
      An array of cross account configurations.
    • getEncryptionConfig

      @Stability(Stable) @Nullable public Object getEncryptionConfig()
    • setEncryptionConfig

      @Stability(Stable) public void setEncryptionConfig(@Nullable IResolvable value)
    • setEncryptionConfig

      @Stability(Stable) public void setEncryptionConfig(@Nullable CfnInvestigationGroup.EncryptionConfigMapProperty value)
    • getInvestigationGroupPolicy

      @Stability(Stable) @Nullable public String getInvestigationGroupPolicy()
      Investigation Group policy.
    • setInvestigationGroupPolicy

      @Stability(Stable) public void setInvestigationGroupPolicy(@Nullable String value)
      Investigation Group policy.
    • getIsCloudTrailEventHistoryEnabled

      @Stability(Stable) @Nullable public Object getIsCloudTrailEventHistoryEnabled()
      Flag to enable cloud trail history.
    • setIsCloudTrailEventHistoryEnabled

      @Stability(Stable) public void setIsCloudTrailEventHistoryEnabled(@Nullable Boolean value)
      Flag to enable cloud trail history.
    • setIsCloudTrailEventHistoryEnabled

      @Stability(Stable) public void setIsCloudTrailEventHistoryEnabled(@Nullable IResolvable value)
      Flag to enable cloud trail history.
    • getRetentionInDays

      @Stability(Stable) @Nullable public Number getRetentionInDays()
      The number of days to retain the investigation group.
    • setRetentionInDays

      @Stability(Stable) public void setRetentionInDays(@Nullable Number value)
      The number of days to retain the investigation group.
    • getRoleArn

      @Stability(Stable) @Nullable public String getRoleArn()
      The Investigation Role's ARN.
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@Nullable String value)
      The Investigation Role's ARN.
    • getTagKeyBoundaries

      @Stability(Stable) @Nullable public List<String> getTagKeyBoundaries()
    • setTagKeyBoundaries

      @Stability(Stable) public void setTagKeyBoundaries(@Nullable List<String> value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.