Skip to content

Commit 7a90b9d

Browse files
committed
Add AWS Organization
1 parent c14b4fb commit 7a90b9d

File tree

4 files changed

+102
-0
lines changed

4 files changed

+102
-0
lines changed

docs/build-your-software-catalog/sync-data-to-catalog/cloud-providers/aws-v3/examples.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import EcsClusterProperties from './examples/ecs/clusters/_ecs_cluster_propertie
1313
import Ec2InstanceBlueprint from './examples/ec2/instances/_ec2_instance_blueprint.mdx'
1414
import Ec2InstanceConfig from './examples/ec2/instances/_ec2_instance_port_app_config.mdx'
1515
import Ec2InstanceProperties from './examples/ec2/instances/_ec2_instance_properties.mdx'
16+
import OrganizationsAccountBlueprint from './examples/organizations/accounts/_organizations_accounts_blueprint.mdx'
17+
import OrganizationsAccountConfig from './examples/organizations/accounts/_organizations_accounts_port_app_config.mdx'
18+
import OrganizationsAccountProperties from './examples/organizations/accounts/_organizations_accounts_properties.mdx'
1619

1720
# Examples
1821

@@ -32,6 +35,24 @@ You can use the following Port blueprint definitions and integration configurati
3235

3336
<AccountInfoConfig/>
3437

38+
## AWS Organizations
39+
40+
### Organizations Accounts
41+
42+
The following example demonstrates how to ingest your AWS Organizations Accounts to Port.
43+
44+
You can use the following Port blueprint definitions and integration configuration:
45+
46+
<OrganizationsAccountBlueprint/>
47+
48+
<OrganizationsAccountConfig/>
49+
50+
You can reference any of the following Organizations Account properties in your mapping configuration:
51+
52+
<OrganizationsAccountProperties/>
53+
54+
For more details about Organizations Account properties, refer to the [AWS Organizations API documentation](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DescribeAccount.html).
55+
3556
## Amazon S3
3657

3758
### S3 buckets
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<details>
2+
<summary><b>Organizations Account blueprint (Click to expand)</b></summary>
3+
4+
```json showLineNumbers
5+
{
6+
"identifier": "awsOrganizationAccount",
7+
"description": "This blueprint represents an AWS Organizations Account in our software catalog",
8+
"title": "Organizations Account",
9+
"icon": "AWS",
10+
"schema": {
11+
"properties": {
12+
"arn": {
13+
"type": "string",
14+
"title": "ARN"
15+
},
16+
"email": {
17+
"type": "string",
18+
"title": "Email"
19+
},
20+
"status": {
21+
"type": "string",
22+
"title": "Status"
23+
},
24+
"joinedTimestamp": {
25+
"type": "string",
26+
"title": "Joined Timestamp"
27+
},
28+
"joinedMethod": {
29+
"type": "string",
30+
"title": "Joined Method"
31+
}
32+
},
33+
"required": []
34+
},
35+
"mirrorProperties": {},
36+
"calculationProperties": {},
37+
"aggregationProperties": {},
38+
"relations": {}
39+
}
40+
```
41+
42+
</details>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<details>
2+
<summary><b>Organizations Account mapping configuration (Click to expand)</b></summary>
3+
4+
```yaml showLineNumbers
5+
resources:
6+
- kind: AWS::Organizations::Account
7+
selector:
8+
query: 'true'
9+
port:
10+
entity:
11+
mappings:
12+
identifier: .Properties.Id
13+
title: .Properties.AccountName
14+
blueprint: '"awsOrganizationAccount"'
15+
properties:
16+
arn: .Properties.Arn
17+
email: .Properties.Email
18+
status: .Properties.Status
19+
joinedTimestamp: .Properties.JoinedTimestamp
20+
joinedMethod: .Properties.JoinedMethod
21+
```
22+
23+
</details>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<details>
2+
<summary><b>Organizations Account properties (Click to expand)</b></summary>
3+
4+
| Property | JQ Path | Type | Action Required |
5+
|----------|---------|------|-----------------|
6+
| Id | .Properties.Id | string | ListAccountsAction (default) |
7+
| AccountName | .Properties.AccountName | string | ListAccountsAction (default) |
8+
| Arn | .Properties.Arn | string | ListAccountsAction (default) |
9+
| Email | .Properties.Email | string | ListAccountsAction (default) |
10+
| Status | .Properties.Status | string | ListAccountsAction (default) |
11+
| JoinedTimestamp | .Properties.JoinedTimestamp | string | ListAccountsAction (default) |
12+
| JoinedMethod | .Properties.JoinedMethod | string | ListAccountsAction (default) |
13+
| Tags | .Properties.Tags | array | ListTagsForResourceAction (optional) |
14+
| Parents | .Properties.Parents | array | ListParentsAction (optional) |
15+
16+
</details>

0 commit comments

Comments
 (0)