Class CfnInvestigationGroupPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
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
CreateInvestigationGroupand you want to enable alarms to do this, you must usePutInvestigationGroupPolicyto 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnInvestigationGroupPropsMixin.static interfaceUse this structure to integrate CloudWatch investigations with chat applications.static interfaceThis structure contains information about the cross-account configuration in the account.static interfaceUse this structure if you want to use a customer managed AWS key to encrypt your investigation data.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::AIOps::InvestigationGroup.CfnInvestigationGroupPropsMixin(CfnInvestigationGroupMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AIOps::InvestigationGroup.protectedCfnInvestigationGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnInvestigationGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnInvestigationGroupMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::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 toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-