ConfigurationProfileArgs

data class ConfigurationProfileArgs(val applicationId: Output<String>? = null, val description: Output<String>? = null, val locationUri: Output<String>? = null, val name: Output<String>? = null, val retrievalRoleArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null, val validators: Output<List<ConfigurationProfileValidatorArgs>>? = null) : ConvertibleToJava<ConfigurationProfileArgs>

Provides an AppConfig Configuration Profile resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.ConfigurationProfile;
import com.pulumi.aws.appconfig.ConfigurationProfileArgs;
import com.pulumi.aws.appconfig.inputs.ConfigurationProfileValidatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ConfigurationProfile("example", ConfigurationProfileArgs.builder()
.applicationId(aws_appconfig_application.example().id())
.description("Example Configuration Profile")
.locationUri("hosted")
.validators(ConfigurationProfileValidatorArgs.builder()
.content(aws_lambda_function.example().arn())
.type("LAMBDA")
.build())
.tags(Map.of("Type", "AppConfig Configuration Profile"))
.build());
}
}

Import

AppConfig Configuration Profiles can be imported by using the configuration profile ID and application ID separated by a colon (:), e.g.,

$ pulumi import aws:appconfig/configurationProfile:ConfigurationProfile example 71abcde:11xxxxx

Constructors

Link copied to clipboard
constructor(applicationId: Output<String>? = null, description: Output<String>? = null, locationUri: Output<String>? = null, name: Output<String>? = null, retrievalRoleArn: Output<String>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null, validators: Output<List<ConfigurationProfileValidatorArgs>>? = null)

Properties

Link copied to clipboard
val applicationId: Output<String>? = null

Application ID. Must be between 4 and 7 characters in length.

Link copied to clipboard
val description: Output<String>? = null

Description of the configuration profile. Can be at most 1024 characters.

Link copied to clipboard
val locationUri: Output<String>? = null

URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store, specify hosted. For an SSM document, specify either the document name in the format ssm-document://<Document_name> or the ARN. For a parameter, specify either the parameter name in the format ssm-parameter://<Parameter_name> or the ARN. For an Amazon S3 object, specify the URI in the following format: s3://<bucket>/<objectKey>.

Link copied to clipboard
val name: Output<String>? = null

Name for the configuration profile. Must be between 1 and 64 characters in length.

Link copied to clipboard
val retrievalRoleArn: Output<String>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val type: Output<String>? = null

Type of configurations contained in the profile. Valid values: AWS.AppConfig.FeatureFlags and AWS.Freeform. Default: AWS.Freeform.

Link copied to clipboard

Set of methods for validating the configuration. Maximum of 2. See Validator below for more details.

Functions

Link copied to clipboard
open override fun toJava(): ConfigurationProfileArgs