Skip to main content

@swamp/aws/detective

v2026.04.23.3

AWS DETECTIVE infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awsdetectivecloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/detective

@swamp/aws/detective/graphv2026.04.23.2graph.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Tags?array
AutoEnableMembers?booleanIndicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
createCreate a Detective Graph
getGet a Detective Graph
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective Graph
updateUpdate a Detective Graph
deleteDelete a Detective Graph
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective Graph
syncSync Detective Graph state from AWS

Resources

state(infinite)— Detective Graph resource state
@swamp/aws/detective/member-invitationv2026.04.23.2member_invitation.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
GraphArnstringThe ARN of the graph to which the member account will be invited
MemberIdstringThe AWS account ID to be invited to join the graph as a member
MemberEmailAddressstringThe root email address for the account to be invited, for validation. Updating this field has no effect.
DisableEmailNotification?booleanWhen set to true, invitation emails are not sent to the member accounts. Member accounts must still accept the invitation before they are added to the behavior graph. Updating this field has no effect.
Message?stringA message to be included in the email invitation sent to the invited account. Updating this field has no effect.
createCreate a Detective MemberInvitation
getGet a Detective MemberInvitation
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective MemberInvitation
updateUpdate a Detective MemberInvitation
deleteDelete a Detective MemberInvitation
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective MemberInvitation
syncSync Detective MemberInvitation state from AWS

Resources

state(infinite)— Detective MemberInvitation resource state
@swamp/aws/detective/organization-adminv2026.04.23.2organization_admin.ts

Global Arguments

ArgumentTypeDescription
AccountIdstringThe account ID of the account that should be registered as your Organization's delegated administrator for Detective
createCreate a Detective OrganizationAdmin
getGet a Detective OrganizationAdmin
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective OrganizationAdmin
updateUpdate a Detective OrganizationAdmin
deleteDelete a Detective OrganizationAdmin
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective OrganizationAdmin
syncSync Detective OrganizationAdmin state from AWS

Resources

state(infinite)— Detective OrganizationAdmin resource state