Module Values.CreateEnvironmentAccountConnectionInputSource

Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account. An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.

    *)
  2. codebuildRoleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.

    *)
  3. componentRoleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account. You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this account. For more information about components, see Proton components in the Proton User Guide.

    *)
  4. environmentName : ResourceName.t;
    (*

    The name of the Proton environment that's created in the associated management account.

    *)
  5. managementAccountId : AwsAccountId.t;
    (*

    The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.

    *)
  6. roleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.

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

    An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair. For more information, see Proton resources and tagging in the Proton User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?codebuildRoleArn:??? -> ?componentRoleArn:??? -> ?roleArn:??? -> ?tags:??? -> environmentName:ResourceName.t -> managementAccountId:AwsAccountId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ClientToken.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