/
POST
/
ListDelegatedAdministrator
permissions are added. An organization can have up to 3 delegated administrators.EnableAWSServiceAccess
action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup
in the management or delegated administrator account of your organization. The service-linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole
action.register-delegated-administrator
for config-multiaccountsetup.amazonaws.com
. PutOrganizationConfigRule
to create both Config Managed Rules and Config Custom Rules.RuleIdentifier
key.PutOrganizationConfigRule
to add a Custom Lambda rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"OrganizationConfigRuleName": "string",
"OrganizationManagedRuleMetadata": {
"Description": "string",
"RuleIdentifier": "string",
"InputParameters": "string",
"MaximumExecutionFrequency": "One_Hour",
"ResourceTypesScope": [],
"ResourceIdScope": "string",
"TagKeyScope": "string",
"TagValueScope": "string"
},
"OrganizationCustomRuleMetadata": {
"Description": "string",
"LambdaFunctionArn": "string",
"OrganizationConfigRuleTriggerTypes": [],
"InputParameters": "string",
"MaximumExecutionFrequency": "One_Hour",
"ResourceTypesScope": [],
"ResourceIdScope": "string",
"TagKeyScope": "string",
"TagValueScope": "string"
},
"ExcludedAccounts": [],
"OrganizationCustomPolicyRuleMetadata": {
"Description": "string",
"OrganizationConfigRuleTriggerTypes": [],
"InputParameters": "string",
"MaximumExecutionFrequency": "One_Hour",
"ResourceTypesScope": [],
"ResourceIdScope": "string",
"TagKeyScope": "string",
"TagValueScope": "string",
"PolicyRuntime": "string",
"PolicyText": "string",
"DebugLogDeliveryAccounts": []
}
}'
Response Response Example
200 - Example 1
{
"OrganizationConfigRuleArn": "string"
}
Request
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json
Responses
Modified at 2023-08-15 05:59:06