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

Class: Aws::ServerlessApplicationRepository::Types::PutApplicationPolicyRequest

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 PutApplicationPolicyRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

Returns:

  • (String)


1113
1114
1115
1116
1117
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1113

class PutApplicationPolicyRequest < Struct.new(
  :application_id,
  :statements)
  include Aws::Structure
end

#statementsArray<Types::ApplicationPolicyStatement>



1113
1114
1115
1116
1117
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1113

class PutApplicationPolicyRequest < Struct.new(
  :application_id,
  :statements)
  include Aws::Structure
end