Module Values.SetResourceAccessForBucketRequestSource

Sets the Amazon Lightsail resources that can access the specified Lightsail bucket. Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.

Sourcetype nonrec t = {
  1. resourceName : ResourceName.t;
    (*

    The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.

    *)
  2. bucketName : BucketName.t;
    (*

    The name of the bucket for which to set access to another Lightsail resource.

    *)
  3. access : ResourceBucketAccess.t;
    (*

    The access setting. The following access settings are available: allow - Allows access to the bucket and its objects. deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.

    *)
}
Sourceval context_ : string
Sourceval make : resourceName:ResourceName.t -> bucketName:BucketName.t -> access:ResourceBucketAccess.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ResourceName.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