1. Packages
  2. AWS
  3. API Docs
  4. appconfig
  5. getConfigurationProfiles
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aws logo
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Provides access to all Configuration Properties for an AppConfig Application. This will allow you to pass Configuration Profile IDs to another resource.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.appconfig.getConfigurationProfiles({
        applicationId: "a1d3rpe",
    });
    const exampleGetConfigurationProfile = example.then(example => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.appconfig.getConfigurationProfile({
        configurationProfileId: __value,
        applicationId: exampleAwsAppconfigApplication.id,
    }) })));
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.appconfig.get_configuration_profiles(application_id="a1d3rpe")
    example_get_configuration_profile = {__key: aws.appconfig.get_configuration_profile(configuration_profile_id=__value,
        application_id=example_aws_appconfig_application["id"]) for __key, __value in example.configuration_profile_ids}
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.AppConfig.GetConfigurationProfiles.Invoke(new()
        {
            ApplicationId = "a1d3rpe",
        });
    
        var exampleGetConfigurationProfile = ;
    
    });
    
    Example coming soon!
    
    Example coming soon!
    

    Using getConfigurationProfiles

    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 getConfigurationProfiles(args: GetConfigurationProfilesArgs, opts?: InvokeOptions): Promise<GetConfigurationProfilesResult>
    function getConfigurationProfilesOutput(args: GetConfigurationProfilesOutputArgs, opts?: InvokeOptions): Output<GetConfigurationProfilesResult>
    def get_configuration_profiles(application_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetConfigurationProfilesResult
    def get_configuration_profiles_output(application_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationProfilesResult]
    func GetConfigurationProfiles(ctx *Context, args *GetConfigurationProfilesArgs, opts ...InvokeOption) (*GetConfigurationProfilesResult, error)
    func GetConfigurationProfilesOutput(ctx *Context, args *GetConfigurationProfilesOutputArgs, opts ...InvokeOption) GetConfigurationProfilesResultOutput

    > Note: This function is named GetConfigurationProfiles in the Go SDK.

    public static class GetConfigurationProfiles 
    {
        public static Task<GetConfigurationProfilesResult> InvokeAsync(GetConfigurationProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigurationProfilesResult> Invoke(GetConfigurationProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConfigurationProfilesResult> getConfigurationProfiles(GetConfigurationProfilesArgs args, InvokeOptions options)
    public static Output<GetConfigurationProfilesResult> getConfigurationProfiles(GetConfigurationProfilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:appconfig/getConfigurationProfiles:getConfigurationProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationId string
    ID of the AppConfig Application.
    ApplicationId string
    ID of the AppConfig Application.
    applicationId String
    ID of the AppConfig Application.
    applicationId string
    ID of the AppConfig Application.
    application_id str
    ID of the AppConfig Application.
    applicationId String
    ID of the AppConfig Application.

    getConfigurationProfiles Result

    The following output properties are available:

    ApplicationId string
    ConfigurationProfileIds List<string>
    Set of Configuration Profile IDs associated with the AppConfig Application.
    Id string
    The provider-assigned unique ID for this managed resource.
    ApplicationId string
    ConfigurationProfileIds []string
    Set of Configuration Profile IDs associated with the AppConfig Application.
    Id string
    The provider-assigned unique ID for this managed resource.
    applicationId String
    configurationProfileIds List<String>
    Set of Configuration Profile IDs associated with the AppConfig Application.
    id String
    The provider-assigned unique ID for this managed resource.
    applicationId string
    configurationProfileIds string[]
    Set of Configuration Profile IDs associated with the AppConfig Application.
    id string
    The provider-assigned unique ID for this managed resource.
    application_id str
    configuration_profile_ids Sequence[str]
    Set of Configuration Profile IDs associated with the AppConfig Application.
    id str
    The provider-assigned unique ID for this managed resource.
    applicationId String
    configurationProfileIds List<String>
    Set of Configuration Profile IDs associated with the AppConfig Application.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v6.83.1 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.