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>

For the list of actions supported for this operation, see Application Permissions.

Returns:

  • (Array<String>)


192
193
194
195
196
197
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 192

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

#principalsArray<String>

An array of AWS account IDs, or * to make the application public.

Returns:

  • (Array<String>)


192
193
194
195
196
197
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 192

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

#statement_idString

A unique ID for the statement.

Returns:

  • (String)


192
193
194
195
196
197
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 192

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