Class: Aws::S3Control::Types::CreateAccessGrantsLocationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The ID of the Amazon Web Services account that is making this request.

Returns:

  • (String)


800
801
802
803
804
805
806
807
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 800

class CreateAccessGrantsLocationRequest < Struct.new(
  :account_id,
  :location_scope,
  :iam_role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#iam_role_arnString

The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.

Returns:

  • (String)


800
801
802
803
804
805
806
807
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 800

class CreateAccessGrantsLocationRequest < Struct.new(
  :account_id,
  :location_scope,
  :iam_role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#location_scopeString

The S3 path to the location that you are registering. The location scope can be the default S3 location s3://, the S3 path to a bucket s3://<bucket>, or the S3 path to a bucket and prefix s3://<bucket>/<prefix>. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.

Returns:

  • (String)


800
801
802
803
804
805
806
807
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 800

class CreateAccessGrantsLocationRequest < Struct.new(
  :account_id,
  :location_scope,
  :iam_role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

Returns:



800
801
802
803
804
805
806
807
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 800

class CreateAccessGrantsLocationRequest < Struct.new(
  :account_id,
  :location_scope,
  :iam_role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end