ConfigurationProfile

class ConfigurationProfile : KotlinCustomResource

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

Properties

Link copied to clipboard
val applicationId: Output<String>

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

Link copied to clipboard
val arn: Output<String>

ARN of the AppConfig Configuration Profile.

Link copied to clipboard

The configuration profile ID.

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

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val locationUri: Output<String>

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>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val retrievalRoleArn: Output<String>?

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>>?

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 tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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