Skip to content

Put Application Policy

serverlessapplicationrepository_put_application_policy R Documentation

Sets the permission policy for an application

Description

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .

Usage

serverlessapplicationrepository_put_application_policy(ApplicationId,
  Statements)

Arguments

ApplicationId

[required] The Amazon Resource Name (ARN) of the application.

Statements

[required] An array of policy statements applied to the application.

Value

A list with the following syntax:

list(
  Statements = list(
    list(
      Actions = list(
        "string"
      ),
      PrincipalOrgIDs = list(
        "string"
      ),
      Principals = list(
        "string"
      ),
      StatementId = "string"
    )
  )
)

Request syntax

svc$put_application_policy(
  ApplicationId = "string",
  Statements = list(
    list(
      Actions = list(
        "string"
      ),
      PrincipalOrgIDs = list(
        "string"
      ),
      Principals = list(
        "string"
      ),
      StatementId = "string"
    )
  )
)