You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServerlessApplicationRepository::Types::ApplicationPolicyStatement

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb

Overview

Note:

When making an API call, you may pass ApplicationPolicyStatement data as a hash:

{
  actions: ["__string"], # required
  principals: ["__string"], # required
  statement_id: "__string",
}

Policy statement applied to the application.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

See Application Permissions for the list of supported actions.

Returns:

  • (Array<String>)


155
156
157
158
159
160
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 155

class ApplicationPolicyStatement < Struct.new(
  :actions,
  :principals,
  :statement_id)
  include Aws::Structure
end

#principalsArray<String>

An AWS account ID, or * to make the application public.

Returns:

  • (Array<String>)


155
156
157
158
159
160
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 155

class ApplicationPolicyStatement < Struct.new(
  :actions,
  :principals,
  :statement_id)
  include Aws::Structure
end

#statement_idString

A unique ID for the statement.

Returns:

  • (String)


155
156
157
158
159
160
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 155

class ApplicationPolicyStatement < Struct.new(
  :actions,
  :principals,
  :statement_id)
  include Aws::Structure
end