Module Values.CreateResourceConfigurationRequestSource

Creates a resource configuration. A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.

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

    The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    *)
  2. type_ : ResourceConfigurationType.t;
    (*

    The type of resource configuration. A resource configuration can be one of the following types: SINGLE - A single resource. GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration. CHILD - A single resource that is part of a group resource configuration. ARN - An Amazon Web Services resource.

    *)
  3. portRanges : PortRangeList.t option;
    (*

    (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).

    *)
  4. protocol : ProtocolType.t option;
    (*

    (SINGLE, GROUP) The protocol accepted by the resource configuration.

    *)
  5. resourceGatewayIdentifier : ResourceGatewayIdentifier.t option;
    (*

    (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration.

    *)
  6. resourceConfigurationGroupIdentifier : ResourceConfigurationIdentifier.t option;
    (*

    (CHILD) The ID or ARN of the parent resource configuration of type GROUP. This is used to associate a child resource configuration with a group resource configuration.

    *)
  7. resourceConfigurationDefinition : ResourceConfigurationDefinition.t option;
    (*

    Identifies the resource configuration in one of the following ways: Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN. Domain name - Any domain name that is publicly resolvable. IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.

    *)
  8. allowAssociationToShareableServiceNetwork : Boolean.t option;
    (*

    (SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network. The default is false.

    *)
  9. customDomainName : DomainName.t option;
    (*

    A custom domain name for your resource configuration. Additionally, provide a DomainVerificationID to prove your ownership of a domain.

    *)
  10. groupDomain : DomainName.t option;
    (*

    (GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.

    *)
  11. domainVerificationIdentifier : DomainVerificationIdentifier.t option;
    (*

    The domain verification ID of your verified custom domain name. If you don't provide an ID, you must configure the DNS settings yourself.

    *)
  12. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

    *)
  13. tags : TagMap.t option;
    (*

    The tags for the resource configuration.

    *)
}
Sourceval context_ : string
Sourceval make : ?portRanges:??? -> ?protocol:??? -> ?resourceGatewayIdentifier:??? -> ?resourceConfigurationGroupIdentifier:??? -> ?resourceConfigurationDefinition:??? -> ?allowAssociationToShareableServiceNetwork:??? -> ?customDomainName:??? -> ?groupDomain:??? -> ?domainVerificationIdentifier:??? -> ?clientToken:??? -> ?tags:??? -> name:ResourceConfigurationName.t -> type_:ResourceConfigurationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of PortRange.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ResourceConfigurationName.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of DomainName.t ]) list ]) list ]) 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