Skip to main content

Aws/organizations

@swamp/aws/organizationsv2026.04.23.3· 8d agoMODELS
01README

AWS ORGANIZATIONS infrastructure models

02Models5
@swamp/aws/organizations/accountv2026.04.23.2account.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
AccountNamestringThe friendly name of the member account.
EmailstringThe email address of the owner to assign to the new member account.
RoleName?stringThe name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
ParentIds?arrayList of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
Tags?arrayA 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
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations Account
fn update()
Update a Organizations Account
fn delete(identifier: string)
Delete a Organizations Account
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
FeatureSet?enumSpecifies 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
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations Organization
fn update()
Update a Organizations Organization
fn delete(identifier: string)
Delete a Organizations Organization
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
NamestringThe friendly name of this OU.
ParentIdstringThe unique identifier (ID) of the parent root or OU that you want to create the new OU in.
Tags?arrayA 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
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations OrganizationalUnit
fn update()
Update a Organizations OrganizationalUnit
fn delete(identifier: string)
Delete a Organizations OrganizationalUnit
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
NamestringName of the Policy
TypeenumThe 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
ContentstringThe 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?stringHuman readable description of the policy
TargetIds?arrayList of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy to
Tags?arrayA 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
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations Policy
fn update()
Update a Organizations Policy
fn delete(identifier: string)
Delete a Organizations Policy
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ContentstringThe 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?arrayA 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
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations ResourcePolicy
fn update()
Update a Organizations ResourcePolicy
fn delete(identifier: string)
Delete a Organizations ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Organizations ResourcePolicy
fn sync()
Sync Organizations ResourcePolicy state from AWS

Resources

state(infinite)— Organizations ResourcePolicy resource state
03Previous Versions6
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