Class: Aws::S3Files::Types::PutFileSystemPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

The ID or Amazon Resource Name (ARN) of the S3 File System to apply the resource policy to.

Returns:

  • (String)


1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/types.rb', line 1266

class PutFileSystemPolicyRequest < Struct.new(
  :file_system_id,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

The JSON-formatted resource policy to apply to the file system. The policy defines the permissions for accessing the file system. The policy must be a valid JSON document that follows IAM policy syntax.

Returns:

  • (String)


1266
1267
1268
1269
1270
1271
# File 'gems/aws-sdk-s3files/lib/aws-sdk-s3files/types.rb', line 1266

class PutFileSystemPolicyRequest < Struct.new(
  :file_system_id,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end