Organization configuration

Properties

backupPolicies: IBackupPolicyConfig[]

A Record of Backup Policy configurations

BackupPolicyConfig

To create backup policy named BackupPolicy from backup-policies/org-backup-policies.json file in config repository, you need to provide following values for this parameter.

backupPolicies:
- name: BackupPolicy
description: Organization Backup Policy
policy: backup-policies/org-backup-policies.json
deploymentTargets:
organizationalUnits:
- Root
chatbotPolicies?: IChatbotPolicyConfig[]

A list of Chatbot Policy configurations

ChatbotPolicyConfig

To create chatbot policy named ChatbotPolicy from chatbot-policies/org-chatbot-policy.json file in config repository, you need to provide following values for this parameter.

chatbotPolicies:
- name: ChatbotPolicy
description: Organization Chatbot Policy
policy: chatbot-policies/org-chatbot-policy.json
deploymentTargets:
organizationalUnits:
- Root
declarativePolicies?: IDeclarativePolicyConfig[]

A Record of Declarative Policy configurations

DeclarativePolicyConfig

To create a declarative policy named EC2Settings from declarative-policies/ec2-settings.json file in config repository, you need to provide following values for this parameter.

Restrict making AMIs public and enable serial console access

declarativePolicies:
- name: ResrictHttpsConnection
description: >
This policy restricts making AMIs public and enable serial console access
policy: declarative-policies/ec2-settings.json
type: customerManaged
deploymentTargets:
organizationalUnits:
- Infrastructure
enable: boolean

Indicates whether AWS Organization enabled.

organizationalUnitIds?: IOrganizationalUnitIdConfig[]

Optionally provide a list of Organizational Unit IDs to bypass the usage of the AWS Organizations Client lookup. This is not a readonly member since we will initialize it with values if it is not provided

organizationalUnits: IOrganizationalUnitConfig[]

A Record of Organizational Unit configurations

OrganizationalUnitConfig

To create Security and Infrastructure OU in root , you need to provide following values for this parameter. Nested OU's start at root and configure all of the ou's in the path

organizationalUnits:
- name: Security
- name: Infrastructure
- name: Sandbox
- name: Sandbox/Pipeline
- name: Sandbox/Development
- name: Sandbox/Development/Application1
quarantineNewAccounts?: IQuarantineNewAccountsConfig

A record of Quarantine New Accounts configuration

QuarantineNewAccountsConfig

resourceControlPolicies?: IResourceControlPolicyConfig[]

A Record of Resource Control Policy configurations

ResourceControlPolicyConfig

To create a resource control policy named ResrictHttpsConnection from resource-control-policies/restrict-https-connections.json file in config repository, you need to provide following values for this parameter.

Restrict access to only HTTPS connections to your resources

resourceControlPolicies:
- name: ResrictHttpsConnection
description: >
This RCP restricts access to only HTTPS connections to your resources.
policy: resource-control-policies/restrict-https-connections.json
type: customerManaged
strategy: deny-list # defines RCP strategy - deny-list or allow-list. See https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_rcps_evaluation.html#how_rcps_deny
deploymentTargets:
organizationalUnits:
- Security
serviceControlPolicies: IServiceControlPolicyConfig[]

A Record of Service Control Policy configurations

ServiceControlPolicyConfig

To create service control policy named DenyDeleteVpcFlowLogs from service-control-policies/deny-delete-vpc-flow-logs.json file in config repository, you need to provide following values for this parameter.

serviceControlPolicies:
- name: DenyDeleteVpcFlowLogs
description: >
This SCP prevents users or roles in any affected account from deleting
Amazon Elastic Compute Cloud (Amazon EC2) flow logs or CloudWatch log
groups or log streams.
policy: service-control-policies/deny-delete-vpc-flow-logs.json
type: customerManaged
strategy: deny-list # defines SCP strategy - deny-list or allow-list. See https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_strategies.html
deploymentTargets:
organizationalUnits:
- Security
taggingPolicies: ITaggingPolicyConfig[]

A Record of Tagging Policy configurations

TaggingPolicyConfig

To create tagging policy named TagPolicy from tagging-policies/org-tag-policy.json file in config repository, you need to provide following values for this parameter.

taggingPolicies:
- name: TagPolicy
description: Organization Tagging Policy
policy: tagging-policies/org-tag-policy.json
deploymentTargets:
organizationalUnits:
- Root