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>

A list of supported actions:

GetApplication

CreateCloudFormationChangeSet

ListApplicationVersions

SearchApplications

Deploy (Note: This action enables all other actions above.)

Returns:

  • (Array<String>)


161
162
163
164
165
166
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 161

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>)


161
162
163
164
165
166
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 161

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

#statement_idString

A unique ID for the statement.

Returns:

  • (String)


161
162
163
164
165
166
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 161

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