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
      principal_org_i_ds: ["__string"],
      principals: ["__string"], # required
      statement_id: "__string",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

Returns:

  • (String)


1693
1694
1695
1696
1697
1698
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1693

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

#statementsArray<Types::ApplicationPolicyStatement>



1693
1694
1695
1696
1697
1698
# File 'gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/types.rb', line 1693

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