AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.appconfig.getConfigurationProfile
Explore with Pulumi AI
Provides access to an AppConfig Configuration Profile.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.appconfig.getConfigurationProfile({
    applicationId: "b5d5gpj",
    configurationProfileId: "qrbb1c1",
});
import pulumi
import pulumi_aws as aws
example = aws.appconfig.get_configuration_profile(application_id="b5d5gpj",
    configuration_profile_id="qrbb1c1")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appconfig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.LookupConfigurationProfile(ctx, &appconfig.LookupConfigurationProfileArgs{
			ApplicationId:          "b5d5gpj",
			ConfigurationProfileId: "qrbb1c1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.AppConfig.GetConfigurationProfile.Invoke(new()
    {
        ApplicationId = "b5d5gpj",
        ConfigurationProfileId = "qrbb1c1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.AppconfigFunctions;
import com.pulumi.aws.appconfig.inputs.GetConfigurationProfileArgs;
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) {
        final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
            .applicationId("b5d5gpj")
            .configurationProfileId("qrbb1c1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:appconfig:getConfigurationProfile
      arguments:
        applicationId: b5d5gpj
        configurationProfileId: qrbb1c1
Using getConfigurationProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConfigurationProfile(args: GetConfigurationProfileArgs, opts?: InvokeOptions): Promise<GetConfigurationProfileResult>
function getConfigurationProfileOutput(args: GetConfigurationProfileOutputArgs, opts?: InvokeOptions): Output<GetConfigurationProfileResult>def get_configuration_profile(application_id: Optional[str] = None,
                              configuration_profile_id: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetConfigurationProfileResult
def get_configuration_profile_output(application_id: Optional[pulumi.Input[str]] = None,
                              configuration_profile_id: Optional[pulumi.Input[str]] = None,
                              tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationProfileResult]func LookupConfigurationProfile(ctx *Context, args *LookupConfigurationProfileArgs, opts ...InvokeOption) (*LookupConfigurationProfileResult, error)
func LookupConfigurationProfileOutput(ctx *Context, args *LookupConfigurationProfileOutputArgs, opts ...InvokeOption) LookupConfigurationProfileResultOutput> Note: This function is named LookupConfigurationProfile in the Go SDK.
public static class GetConfigurationProfile 
{
    public static Task<GetConfigurationProfileResult> InvokeAsync(GetConfigurationProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationProfileResult> Invoke(GetConfigurationProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigurationProfileResult> getConfigurationProfile(GetConfigurationProfileArgs args, InvokeOptions options)
public static Output<GetConfigurationProfileResult> getConfigurationProfile(GetConfigurationProfileArgs args, InvokeOptions options)
fn::invoke:
  function: aws:appconfig/getConfigurationProfile:getConfigurationProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApplicationId string
- ID of the AppConfig application to which this configuration profile belongs.
- ConfigurationProfile stringId 
- ID of the Configuration Profile.
- Dictionary<string, string>
- Map of tags for the resource.
- ApplicationId string
- ID of the AppConfig application to which this configuration profile belongs.
- ConfigurationProfile stringId 
- ID of the Configuration Profile.
- map[string]string
- Map of tags for the resource.
- applicationId String
- ID of the AppConfig application to which this configuration profile belongs.
- configurationProfile StringId 
- ID of the Configuration Profile.
- Map<String,String>
- Map of tags for the resource.
- applicationId string
- ID of the AppConfig application to which this configuration profile belongs.
- configurationProfile stringId 
- ID of the Configuration Profile.
- {[key: string]: string}
- Map of tags for the resource.
- application_id str
- ID of the AppConfig application to which this configuration profile belongs.
- configuration_profile_ strid 
- ID of the Configuration Profile.
- Mapping[str, str]
- Map of tags for the resource.
- applicationId String
- ID of the AppConfig application to which this configuration profile belongs.
- configurationProfile StringId 
- ID of the Configuration Profile.
- Map<String>
- Map of tags for the resource.
getConfigurationProfile Result
The following output properties are available:
- ApplicationId string
- Arn string
- ARN of the Configuration Profile.
- ConfigurationProfile stringId 
- Description string
- Description of the Configuration Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- KmsKey stringIdentifier 
- LocationUri string
- Location URI of the Configuration Profile.
- Name string
- Name of the Configuration Profile.
- RetrievalRole stringArn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Dictionary<string, string>
- Map of tags for the resource.
- Type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- Validators
List<GetConfiguration Profile Validator> 
- Nested list of methods for validating the configuration.
- ApplicationId string
- Arn string
- ARN of the Configuration Profile.
- ConfigurationProfile stringId 
- Description string
- Description of the Configuration Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- KmsKey stringIdentifier 
- LocationUri string
- Location URI of the Configuration Profile.
- Name string
- Name of the Configuration Profile.
- RetrievalRole stringArn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- map[string]string
- Map of tags for the resource.
- Type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- Validators
[]GetConfiguration Profile Validator 
- Nested list of methods for validating the configuration.
- applicationId String
- arn String
- ARN of the Configuration Profile.
- configurationProfile StringId 
- description String
- Description of the Configuration Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- kmsKey StringIdentifier 
- locationUri String
- Location URI of the Configuration Profile.
- name String
- Name of the Configuration Profile.
- retrievalRole StringArn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Map<String,String>
- Map of tags for the resource.
- type String
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
List<GetConfiguration Profile Validator> 
- Nested list of methods for validating the configuration.
- applicationId string
- arn string
- ARN of the Configuration Profile.
- configurationProfile stringId 
- description string
- Description of the Configuration Profile.
- id string
- The provider-assigned unique ID for this managed resource.
- kmsKey stringIdentifier 
- locationUri string
- Location URI of the Configuration Profile.
- name string
- Name of the Configuration Profile.
- retrievalRole stringArn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- {[key: string]: string}
- Map of tags for the resource.
- type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
GetConfiguration Profile Validator[] 
- Nested list of methods for validating the configuration.
- application_id str
- arn str
- ARN of the Configuration Profile.
- configuration_profile_ strid 
- description str
- Description of the Configuration Profile.
- id str
- The provider-assigned unique ID for this managed resource.
- kms_key_ stridentifier 
- location_uri str
- Location URI of the Configuration Profile.
- name str
- Name of the Configuration Profile.
- retrieval_role_ strarn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Mapping[str, str]
- Map of tags for the resource.
- type str
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
Sequence[GetConfiguration Profile Validator] 
- Nested list of methods for validating the configuration.
- applicationId String
- arn String
- ARN of the Configuration Profile.
- configurationProfile StringId 
- description String
- Description of the Configuration Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- kmsKey StringIdentifier 
- locationUri String
- Location URI of the Configuration Profile.
- name String
- Name of the Configuration Profile.
- retrievalRole StringArn 
- ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Map<String>
- Map of tags for the resource.
- type String
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators List<Property Map>
- Nested list of methods for validating the configuration.
Supporting Types
GetConfigurationProfileValidator   
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.