1. Packages
  2. AWS
  3. API Docs
  4. appconfig
  5. getConfigurationProfiles
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.appconfig.getConfigurationProfiles

Explore with Pulumi AI

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,
}) })));
Copy
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}
Copy
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 = ;

});
Copy
Coming soon!
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>
Copy
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]
Copy
func GetConfigurationProfiles(ctx *Context, args *GetConfigurationProfilesArgs, opts ...InvokeOption) (*GetConfigurationProfilesResult, error)
func GetConfigurationProfilesOutput(ctx *Context, args *GetConfigurationProfilesOutputArgs, opts ...InvokeOption) GetConfigurationProfilesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetConfigurationProfilesResult> getConfigurationProfiles(GetConfigurationProfilesArgs args, InvokeOptions options)
public static Output<GetConfigurationProfilesResult> getConfigurationProfiles(GetConfigurationProfilesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:appconfig/getConfigurationProfiles:getConfigurationProfiles
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ApplicationId This property is required. string
ID of the AppConfig Application.
ApplicationId This property is required. string
ID of the AppConfig Application.
applicationId This property is required. String
ID of the AppConfig Application.
applicationId This property is required. string
ID of the AppConfig Application.
application_id This property is required. str
ID of the AppConfig Application.
applicationId This property is required. 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.