Module Values.CreateProfileRequestSource

Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies. Required permissions: rolesanywhere:CreateProfile.

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

    The name of the profile.

    *)
  2. requireInstanceProperties : Boolean.t option;
    (*

    Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile.

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

    A session policy that applies to the trust boundary of the vended session credentials.

    *)
  4. roleArns : RoleArnList.t;
    (*

    A list of IAM roles that this profile can assume in a temporary credential request.

    *)
  5. managedPolicyArns : ManagedPolicyList.t option;
    (*

    A list of managed policy ARNs that apply to the vended session credentials.

    *)
  6. durationSeconds : CreateProfileRequestDurationSecondsInteger.t option;
    (*

    Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

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

    Specifies whether the profile is enabled.

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

    The tags to attach to the profile.

    *)
  9. acceptRoleSessionName : Boolean.t option;
    (*

    Used to determine if a custom role session name will be accepted in a temporary credential request.

    *)
}
Sourceval context_ : string
Sourceval make : ?requireInstanceProperties:??? -> ?sessionPolicy:??? -> ?managedPolicyArns:??? -> ?durationSeconds:??? -> ?enabled:??? -> ?tags:??? -> ?acceptRoleSessionName:??? -> name:ResourceName.t -> roleArns:RoleArnList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of CreateProfileRequestDurationSecondsInteger.t | `List of [> `String of RoleArn.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `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