01README
AWS ORGANIZATIONS infrastructure models
02Models
@swamp/aws/organizations/accountv2026.04.23.2account.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| AccountName | string | The friendly name of the member account. |
| string | The email address of the owner to assign to the new member account. | |
| RoleName? | string | The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified. |
| ParentIds? | array | List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root. |
| Tags? | array | A list of tags that you want to attach to the newly created account. For each tag in the list, you must specify both a tag key and a value. |
fn create()
Create a Organizations Account
fn get(identifier: string)
Get a Organizations Account
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Account |
fn update()
Update a Organizations Account
fn delete(identifier: string)
Delete a Organizations Account
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Account |
fn sync()
Sync Organizations Account state from AWS
Resources
state(infinite)— Organizations Account resource state
@swamp/aws/organizations/organizationv2026.04.23.2organization.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| FeatureSet? | enum | Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality. |
fn create()
Create a Organizations Organization
fn get(identifier: string)
Get a Organizations Organization
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Organization |
fn update()
Update a Organizations Organization
fn delete(identifier: string)
Delete a Organizations Organization
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Organization |
fn sync()
Sync Organizations Organization state from AWS
Resources
state(infinite)— Organizations Organization resource state
@swamp/aws/organizations/organizational-unitv2026.04.23.2organizational_unit.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| Name | string | The friendly name of this OU. |
| ParentId | string | The unique identifier (ID) of the parent root or OU that you want to create the new OU in. |
| Tags? | array | A list of tags that you want to attach to the newly created OU. |
fn create()
Create a Organizations OrganizationalUnit
fn get(identifier: string)
Get a Organizations OrganizationalUnit
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations OrganizationalUnit |
fn update()
Update a Organizations OrganizationalUnit
fn delete(identifier: string)
Delete a Organizations OrganizationalUnit
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations OrganizationalUnit |
fn sync()
Sync Organizations OrganizationalUnit state from AWS
Resources
state(infinite)— Organizations OrganizationalUnit resource state
@swamp/aws/organizations/policyv2026.04.23.2policy.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| Name | string | Name of the Policy |
| Type | enum | The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, BEDROCK_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, INSPECTOR_POLICY, NETWORK_SECURITY_DIRECTOR_POLICY, RESOURCE_CONTROL_POLICY, S3_POLICY, SECURITYHUB_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, UPGRADE_ROLLOUT_POLICY |
| Content | string | The Policy text content. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it. |
| Description? | string | Human readable description of the policy |
| TargetIds? | array | List of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy to |
| Tags? | array | A list of tags that you want to attach to the newly created policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. |
fn create()
Create a Organizations Policy
fn get(identifier: string)
Get a Organizations Policy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Policy |
fn update()
Update a Organizations Policy
fn delete(identifier: string)
Delete a Organizations Policy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations Policy |
fn sync()
Sync Organizations Policy state from AWS
Resources
state(infinite)— Organizations Policy resource state
@swamp/aws/organizations/resource-policyv2026.04.23.2resource_policy.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| Content | string | The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it. |
| Tags? | array | A list of tags that you want to attach to the resource policy |
fn create()
Create a Organizations ResourcePolicy
fn get(identifier: string)
Get a Organizations ResourcePolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations ResourcePolicy |
fn update()
Update a Organizations ResourcePolicy
fn delete(identifier: string)
Delete a Organizations ResourcePolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Organizations ResourcePolicy |
fn sync()
Sync Organizations ResourcePolicy state from AWS
Resources
state(infinite)— Organizations ResourcePolicy resource state
03Previous Versions
2026.04.23.2Apr 23, 2026
- Updated: account, organization, organizational_unit, policy, resource_policy
2026.04.19.1Apr 19, 2026
- Updated: account, organizational_unit
2026.04.03.2Apr 3, 2026
- Updated: account, organization, organizational_unit, policy, resource_policy
2026.03.19.1Mar 19, 2026
- Updated: account, organization, organizational_unit, policy, resource_policy
2026.03.16.1Mar 16, 2026
- Updated: account, organization, organizational_unit, policy, resource_policy
2026.03.10.5Mar 10, 2026
04Stats
A
100 / 100
Downloads
2
Archive size
978.0 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 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
05Platforms
06Labels