Class: Aws::RAM::Types::GetPermissionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#permission_arn ⇒ String

Specifies the Amazon Resource Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.

Returns:

  • (String)


1300
1301
1302
1303
1304
1305
1306
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1300

class GetPermissionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :permission_template_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#permission_template_parameters ⇒ Array<Types::PermissionTemplateParameterInput>

Specifies the template parameter values to use when rendering the permission's policy template. Each entry supplies a parameter name and its values. When you provide this parameter, the response contains the rendered policy with the specified values in place of the template parameter placeholders.

For STRING type parameters, provide a single value. For STRING_LIST type parameters, provide one or more values.

You can specify this parameter only for permissions that declare template parameters. You must provide values for all parameters declared in the permission template.



1300
1301
1302
1303
1304
1305
1306
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1300

class GetPermissionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :permission_template_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#permission_version ⇒ Integer

Specifies the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.

To see the list of available versions, use ListPermissionVersions.

Returns:

  • (Integer)


1300
1301
1302
1303
1304
1305
1306
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 1300

class GetPermissionRequest < Struct.new(
  :permission_arn,
  :permission_version,
  :permission_template_parameters)
  SENSITIVE = []
  include Aws::Structure
end