Skip to main content

investigation_groups

Creates, updates, deletes or gets an investigation_group resource or lists investigation_groups in a region

Overview

Nameinvestigation_groups
TypeResource
DescriptionDefinition of AWS::AIOps::InvestigationGroup Resource Type
Idawscc.aiops.investigation_groups

Fields

NameDatatypeDescription
role_arnstringThe Investigation Role's ARN.
namestringUser friendly name for resources.
created_atstringThe timestamp value.
arnstringThe Investigation Group's ARN.
retention_in_daysintegerThe number of days to retain the investigation group
encryption_configobject
investigation_group_policystringInvestigation Group policy
is_cloud_trail_event_history_enabledbooleanFlag to enable cloud trail history
tag_key_boundariesarray
chatbot_notification_channelsarrayAn array of key-value pairs of notification channels to apply to this resource.
cross_account_configurationsarrayAn array of cross account configurations.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

For more information, see AWS::AIOps::InvestigationGroup.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual investigation_group.

SELECT
region,
role_arn,
name,
created_by,
created_at,
last_modified_by,
last_modified_at,
arn,
retention_in_days,
encryption_config,
investigation_group_policy,
is_cloud_trail_event_history_enabled,
tag_key_boundaries,
chatbot_notification_channels,
cross_account_configurations,
tags
FROM awscc.aiops.investigation_groups
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new investigation_group resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.aiops.investigation_groups (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.aiops.investigation_groups
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

To operate on the investigation_groups resource, the following permissions are required:

Create

aiops:CreateInvestigationGroup,
aiops:GetInvestigationGroup,
aiops:GetInvestigationGroupPolicy,
aiops:PutInvestigationGroupPolicy,
aiops:TagResource,
aiops:ListTagsForResource,
iam:PassRole,
kms:DescribeKey,
kms:ListAliases,
kms:Decrypt,
kms:Encrypt,
kms:GenerateDataKey

Read

aiops:GetInvestigationGroup,
aiops:GetInvestigationGroupPolicy,
aiops:ListTagsForResource,
kms:DescribeKey,
kms:ListAliases,
kms:Decrypt,
kms:Encrypt

Update

aiops:GetInvestigationGroup,
aiops:UpdateInvestigationGroup,
aiops:GetInvestigationGroupPolicy,
aiops:PutInvestigationGroupPolicy,
aiops:DeleteInvestigationGroupPolicy,
aiops:TagResource,
aiops:UntagResource,
aiops:ListTagsForResource,
iam:PassRole,
kms:DescribeKey,
kms:ListAliases,
kms:Decrypt,
kms:Encrypt,
kms:GenerateDataKey

Delete

aiops:DeleteInvestigationGroup,
aiops:GetInvestigationGroup,
aiops:DeleteInvestigationGroupPolicy,
aiops:GetInvestigationGroupPolicy,
aiops:UntagResource,
kms:DescribeKey,
kms:ListAliases

List

aiops:ListInvestigationGroups,
kms:DescribeKey,
kms:ListAliases