Command option Sample:aws organizations attach-policy

Search command sample in the internet.It is the result.

Attaches a policy to a root, an organizational unit (OU), or anindividual account.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/organizations/attach-policy.html

aws organizations attach-policy --target-id aws organizations attach-policy --target-id ou-rth4-ezo5wonz --policy-id p-6ldl8bll
    How to Use Service Control Policies in AWS Organizations to Enforce Healthcare Compliance in Your AWS Account – Easy Cloud : http://easycloudsupport.zendesk.com/hc/en-us/articles/360002199751-How-to-Use-Service-Control-Policies-in-AWS-Organizations-to-Enforce-Healthcare-Compliance-in-Your-AWS-Account
aws organizations attach-policy --policy-id
    aws-service-control-policies/apply_scp.sh at master 揃 jchrisfarris/aws-service-control-policies 揃 GitHub : http://github.com/jchrisfarris/aws-service-control-policies/blob/master/apply_scp.sh
aws organizations attach-policy --target-id aws organizations attach-policy --policy-id GENERAL_POLICY_ID --target-id HIPAA_OU_ID
    Enforcing Compliance with AWS Organizations – Stelligent : http://stelligent.com/2017/08/29/aws-organizations/

aws のオプション一覧