Skip to main content

Aws/detective

@swamp/aws/detectivev2026.09.15.1· 1d agoMODELS
01README

AWS DETECTIVE infrastructure models

02Models3
@swamp/aws/detective/graphv2026.08.17.2graph.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Tags?array
AutoEnableMembers?booleanIndicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
fn create()
Create a Detective Graph
fn get(identifier: string)
Get a Detective Graph
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective Graph
fn update()
Update a Detective Graph
fn delete(identifier: string)
Delete a Detective Graph
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective Graph
fn sync()
Sync Detective Graph state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective Graph resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Detective MemberInvitation
fn get(identifier: string)
Get a Detective MemberInvitation
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective MemberInvitation
fn update()
Update a Detective MemberInvitation
fn delete(identifier: string)
Delete a Detective MemberInvitation
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective MemberInvitation
fn sync()
Sync Detective MemberInvitation state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective MemberInvitation resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AccountIdstringThe account ID of the account that should be registered as your Organization's delegated administrator for Detective
fn create()
Create a Detective OrganizationAdmin
fn get(identifier: string)
Get a Detective OrganizationAdmin
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective OrganizationAdmin
fn update()
Update a Detective OrganizationAdmin
fn delete(identifier: string)
Delete a Detective OrganizationAdmin
ArgumentTypeDescription
identifierstringThe primary identifier of the Detective OrganizationAdmin
fn sync()
Sync Detective OrganizationAdmin state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective OrganizationAdmin resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— Detective OrganizationAdmin resource state
03Previous Versions19
2026.09.14.1
2026.09.13.1
2026.09.12.1
2026.09.11.1
2026.09.10.1
2026.09.09.1
2026.09.08.1
2026.09.07.1
2026.09.06.3
2026.09.06.1
2026.09.05.1
2026.09.04.1
2026.09.03.1
2026.09.02.1
2026.09.01.1
2026.08.31.1
2026.08.30.1
2026.08.29.1
2026.08.28.1
04Stats
A
100 / 100
Downloads
0
Archive size
744.2 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels