Configuration Profile
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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>
.