Module Values.CreateConfigurationProfileRequestSource

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;
    (*

    The application ID.

    *)
  2. name : LongName.t;
    (*

    A name for the configuration profile.

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

    A description of the configuration profile.

    *)
  4. locationUri : Uri_.t;
    (*

    A URI to locate the configuration. You can specify the following: For the AppConfig hosted configuration store and for feature flags, specify hosted. For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in the format ssm-parameter://<parameter name> or the ARN. For an Amazon Web Services CodePipeline pipeline, specify the URI in the following format: codepipeline://<pipeline name>. For an Secrets Manager secret, specify the URI in the following format: secretsmanager://<secret name>. For an Amazon S3 object, specify the URI in the following format: s3://<bucket>/<objectKey> . Here is an example: s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json For an SSM document, specify either the document name in the format ssm-document://<document name> or the Amazon Resource Name (ARN).

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

    The ARN of an IAM role with permission to access the configuration at the specified LocationUri. A retrieval role ARN is not required for configurations stored in CodePipeline or the AppConfig hosted configuration store. It is required for all other sources that store your configuration.

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

    A list of methods for validating the configuration.

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

    Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

    *)
  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. kmsKeyIdentifier : KmsKeyIdentifier.t option;
    (*

    The identifier for an 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. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?retrievalRoleArn:??? -> ?validators:??? -> ?tags:??? -> ?type_:??? -> ?kmsKeyIdentifier:??? -> applicationId:Id.t -> name:LongName.t -> locationUri:Uri_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of StringWithLengthBetween0And32768.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) 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