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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID of the S3 Access Grants instance.

Returns:

  • (String)


830
831
832
833
834
835
836
837
# File 'lib/aws-sdk-s3control/types.rb', line 830

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)


830
831
832
833
834
835
836
837
# File 'lib/aws-sdk-s3control/types.rb', line 830

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)


830
831
832
833
834
835
836
837
# File 'lib/aws-sdk-s3control/types.rb', line 830

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:



830
831
832
833
834
835
836
837
# File 'lib/aws-sdk-s3control/types.rb', line 830

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