Skip to content

Commit

Permalink
chore: add sections to manage policies
Browse files Browse the repository at this point in the history
  • Loading branch information
pflorek committed Mar 7, 2023
1 parent d5c19b4 commit e2c0bed
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion text/0465-organizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ new organizations.OrganizationalUnit(this, "OrganizationalUnit", {

### Defining an account

In order to define your `Account`, you must specify the name and a unique account email. Optionally, you
may specify the parent organizational unit and the organizations role name.

```typescript
import * as organizations from '@aws-cdk/aws-organizations';

Expand All @@ -86,7 +89,7 @@ const ou = organizations.OrganizationalUnit.fromAttributes({
new organizations.Account(this, "Account", {
accountName: "MyFirstAccount",
accountEmail: "any«example.com",
parent: ou,
parent: ou, // Defaults to the organiaztion root
roleName: "OrganizationAccountAccessRole", // The default if don't specified
});
```
Expand All @@ -100,6 +103,16 @@ interface IAccount {
}
```

### Defining policies

#### Defining a service control policy

#### Defining a backup policy

#### Defining a tag policy

#### Defining an AI opt-out policy

---

Ticking the box below indicates that the public API of this RFC has been
Expand Down

0 comments on commit e2c0bed

Please sign in to comment.