Module Values.CreateAccessPreviewRequestSource

Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.

Sourcetype nonrec t = {
  1. analyzerArn : AnalyzerArn.t;
    (*

    The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.

    *)
  2. configurations : ConfigurationsMap.t;
    (*

    Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.

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

    A client token.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> analyzerArn:AnalyzerArn.t -> configurations:ConfigurationsMap.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of ConfigurationsMapKey.t ] * [> `Structure of (string * [> `Structure of (string * [> `List of [> `String of EbsUserId.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of GranteePrincipal.t | `Structure of (string * [> `Map of ([> `String of KmsConstraintsKey.t ] * [> `String of KmsConstraintsValue.t ]) list | `String of AclCanonicalId.t ]) list ]) list ] list | `Map of ([> `String of PolicyName.t ] * [> `String of KmsKeyPolicy.t | `Structure of (string * [> `List of [> `String of RdsDbClusterSnapshotAccountId.t ] list | `String of AccessPointPolicy.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of VpcId.t ]) list ]) list ]) list ]) list | `String of EbsSnapshotDataEncryptionKeyId.t | `Structure of (string * [> `Boolean of Boolean.t ]) list ]) list ]) list ]) list | `String of AnalyzerArn.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