Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
serverlessapplicationrepository_put_application_policy(ApplicationId,
Statements)
A list with the following syntax:
list(
Statements = list(
list(
Actions = list(
"string"
),
PrincipalOrgIDs = list(
"string"
),
Principals = list(
"string"
),
StatementId = "string"
)
)
)
[required] The Amazon Resource Name (ARN) of the application.
[required] An array of policy statements applied to the application.
svc$put_application_policy(
ApplicationId = "string",
Statements = list(
list(
Actions = list(
"string"
),
PrincipalOrgIDs = list(
"string"
),
Principals = list(
"string"
),
StatementId = "string"
)
)
)