Aws/detective
@swamp/aws/detectivev2026.09.15.1
01README
AWS DETECTIVE infrastructure models
02Models
@swamp/aws/detective/graphv2026.08.17.2graph.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Tags? | array | |
| AutoEnableMembers? | boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective Graph |
fn update()
Update a Detective Graph
fn delete(identifier: string)
Delete a Detective Graph
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective Graph |
fn sync()
Sync Detective Graph state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective Graph resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| GraphArn | string | The ARN of the graph to which the member account will be invited |
| MemberId | string | The AWS account ID to be invited to join the graph as a member |
| MemberEmailAddress | string | The root email address for the account to be invited, for validation. Updating this field has no effect. |
| DisableEmailNotification? | boolean | When 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? | string | A 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective MemberInvitation |
fn update()
Update a Detective MemberInvitation
fn delete(identifier: string)
Delete a Detective MemberInvitation
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective MemberInvitation |
fn sync()
Sync Detective MemberInvitation state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective MemberInvitation resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON 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
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| AccountId | string | The 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective OrganizationAdmin |
fn update()
Update a Detective OrganizationAdmin
fn delete(identifier: string)
Delete a Detective OrganizationAdmin
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Detective OrganizationAdmin |
fn sync()
Sync Detective OrganizationAdmin state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Detective OrganizationAdmin resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Detective OrganizationAdmin resource state
03Previous Versions
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