1. Packages
  2. AWS
  3. API Docs
  4. appconfig
  5. getConfigurationProfiles
AWS v7.3.1 published on Wednesday, Aug 6, 2025 by Pulumi

aws.appconfig.getConfigurationProfiles

Explore with Pulumi AI

aws logo
AWS v7.3.1 published on Wednesday, Aug 6, 2025 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,
                                   region: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetConfigurationProfilesResult
    def get_configuration_profiles_output(application_id: Optional[pulumi.Input[str]] = None,
                                   region: 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.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ApplicationId string
    ID of the AppConfig Application.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    applicationId String
    ID of the AppConfig Application.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    applicationId string
    ID of the AppConfig Application.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    application_id str
    ID of the AppConfig Application.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    applicationId String
    ID of the AppConfig Application.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    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.
    Region string
    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.
    Region string
    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.
    region String
    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.
    region string
    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.
    region str
    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.
    region String

    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
    AWS v7.3.1 published on Wednesday, Aug 6, 2025 by Pulumi