Module Values.ConfigurationProfileSource

Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the following: Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket Pipelines stored in CodePipeline Secrets stored in Secrets Manager Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store Configuration data in SSM documents stored in the Systems Manager document store A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.

Sourcetype nonrec t = {
  1. applicationId : Id.t option;
    (*

    The application ID.

    *)
  2. id : Id.t option;
    (*

    The configuration profile ID.

    *)
  3. name : LongName.t option;
    (*

    The name of the configuration profile.

    *)
  4. description : Description.t option;
    (*

    The configuration profile description.

    *)
  5. locationUri : Uri_.t option;
    (*

    The URI location of the configuration.

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

    The ARN of an IAM role with permission to access the configuration at the specified LocationUri.

    *)
  7. validators : ValidatorList.t option;
    (*

    A list of methods for validating the configuration.

    *)
  8. type_ : ConfigurationProfileType.t option;
    (*

    The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform

    *)
  9. kmsKeyArn : Arn.t option;
    (*

    The Amazon Resource Name of the Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.

    *)
  10. kmsKeyIdentifier : KmsKeyIdentifier.t option;
    (*

    The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationId:??? -> ?id:??? -> ?name:??? -> ?description:??? -> ?locationUri:??? -> ?retrievalRoleArn:??? -> ?validators:??? -> ?type_:??? -> ?kmsKeyArn:??? -> ?kmsKeyIdentifier:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of StringWithLengthBetween0And32768.t ]) list ] list | `String of Id.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