Configuration Profile Args
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
Properties
Application ID. Must be between 4 and 7 characters in length.
Description of the configuration profile. Can be at most 1024 characters.
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>
.
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.
Set of methods for validating the configuration. Maximum of 2. See Validator below for more details.