Module Values.CreateFileSystemRequestSource

Creates an S3 File System resource scoped to a bucket or prefix within a bucket, enabling file system access to S3 data. To create a file system, you need an S3 bucket and an IAM role that grants the service permission to access the bucket.

Sourcetype nonrec t = {
  1. bucket : BucketArn.t;
    (*

    The Amazon Resource Name (ARN) of the S3 bucket that will be accessible through the file system. The bucket must exist and be in the same Amazon Web Services Region as the file system.

    *)
  2. prefix : CreateFileSystemRequestPrefixString.t option;
    (*

    An optional prefix within the S3 bucket to scope the file system access. If specified, the file system provides access only to objects with keys that begin with this prefix. If not specified, the file system provides access to the entire bucket.

    *)
  3. clientToken : CreationToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure idempotent creation. Up to 64 ASCII characters are allowed. If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    *)
  4. kmsKeyId : KmsKeyId.t option;
    (*

    The ARN, key ID, or alias of the KMS key to use for encryption. If not specified, the service uses a service-owned key for encryption. You can specify a KMS key using the following formats: key ID, ARN, key alias, or key alias ARN. If you use KmsKeyId, the file system will be encrypted.

    *)
  5. roleArn : RoleArn.t;
    (*

    The ARN of the IAM role that grants the S3 Files service permission to read and write data between the file system and the S3 bucket. This role must have the necessary permissions to access the specified bucket and prefix.

    *)
  6. tags : TagList.t option;
    (*

    An array of key-value pairs to apply as tags to the file system resource. Each tag is a user-defined key-value pair. You can use tags to categorize and manage your file systems. Each key must be unique for the resource.

    *)
  7. acceptBucketWarning : Boolean.t option;
    (*

    Set to true to acknowledge and accept any warnings about the bucket configuration. If not specified, the operation may fail if there are bucket configuration warnings.

    *)
}
Sourceval context_ : string
Sourceval make : ?prefix:??? -> ?clientToken:??? -> ?kmsKeyId:??? -> ?tags:??? -> ?acceptBucketWarning:??? -> bucket:BucketArn.t -> roleArn:RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of BucketArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t