404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.220.152.28: ~ $
**To retrieve a list of the SCPs attached directly to an account**

The following example shows how to get a list of all service control policies (SCPs), as specified by the Filter parameter, that are directly attached to an account: ::

	aws organizations list-policies-for-target --filter SERVICE_CONTROL_POLICY --target-id 444444444444
  
The output includes a list of policy structures with summary information about the policies. The list does not include policies that apply to the account because of inheritance from its location in an OU hierarchy: ::

	{
		"Policies": [
			{
				"Type": "SERVICE_CONTROL_POLICY",
				"Name": "AllowAllEC2Actions",
				"AwsManaged", false,
				"Id": "p-examplepolicyid222",
				"Arn": "arn:aws:organizations::o-exampleorgid:policy/service_control_policy/p-examplepolicyid222",
				"Description": "Enables account admins to delegate permissions for any EC2 actions to users and roles in their accounts."
			}
		]
	}

Filemanager

Name Type Size Permission Actions
accept-handshake.rst File 1.23 KB 0755
attach-policy.rst File 484 B 0755
cancel-handshake.rst File 1.43 KB 0755
create-account.rst File 1.42 KB 0755
create-organization.rst File 1.87 KB 0755
create-organizational-unit.rst File 517 B 0755
create-policy.rst File 1.82 KB 0755
decline-handshake.rst File 1.36 KB 0755
delete-organization.rst File 337 B 0755
delete-organizational-unit.rst File 268 B 0755
delete-policy.rst File 245 B 0755
describe-account.rst File 541 B 0755
describe-create-account-status.rst File 831 B 0755
describe-handshake.rst File 1.25 KB 0755
describe-organization.rst File 720 B 0755
describe-organizational-unit.rst File 516 B 0755
describe-policy.rst File 799 B 0755
detach-policy.rst File 234 B 0755
disable-policy-type.rst File 531 B 0755
enable-all-features.rst File 1.23 KB 0755
enable-policy-type.rst File 623 B 0755
invite-account-to-organization.rst File 1.33 KB 0755
leave-organization.rst File 224 B 0755
list-accounts-for-parent.rst File 899 B 0755
list-accounts.rst File 1.37 KB 0755
list-children.rst File 562 B 0755
list-create-account-status.rst File 1.22 KB 0755
list-handshakes-for-account.rst File 1.25 KB 0755
list-handshakes-for-organization.rst File 2.39 KB 0755
list-organizational-units-for-parent.rst File 664 B 0755
list-parents.rst File 425 B 0755
list-policies-for-target.rst File 956 B 0755
list-policies.rst File 1.32 KB 0755
list-roots.rst File 521 B 0755
list-targets-for-policy.rst File 1.01 KB 0755
move-account.rst File 310 B 0755
remove-account-from-organization.rst File 233 B 0755
update-organizational-unit.rst File 493 B 0755
update-policy.rst File 2.02 KB 0755