Viewing docs for AWS v5.43.0 (Older version)
published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 2026 by Pulumi
Viewing docs for AWS v5.43.0 (Older version)
published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleConfigurationProfiles = Aws.AppConfig.GetConfigurationProfiles.Invoke(new()
{
ApplicationId = "a1d3rpe",
});
var exampleConfigurationProfile = .Select(__value =>
{
return Aws.AppConfig.GetConfigurationProfile.Invoke(new()
{
ConfigurationProfileId = __value,
ApplicationId = aws_appconfig_application.Example.Id,
});
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleConfigurationProfiles, err := appconfig.GetConfigurationProfiles(ctx, &appconfig.GetConfigurationProfilesArgs{
ApplicationId: "a1d3rpe",
}, nil)
if err != nil {
return err
}
_ := "TODO: For expression"
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleConfigurationProfiles = aws.appconfig.getConfigurationProfiles({
applicationId: "a1d3rpe",
});
const exampleConfigurationProfile = exampleConfigurationProfiles.then(exampleConfigurationProfiles => .map(([, ]) => (aws.appconfig.getConfigurationProfile({
configurationProfileId: __value,
applicationId: aws_appconfig_application.example.id,
}))));
import pulumi
import pulumi_aws as aws
example_configuration_profiles = aws.appconfig.get_configuration_profiles(application_id="a1d3rpe")
example_configuration_profile = [aws.appconfig.get_configuration_profile(configuration_profile_id=__value,
application_id=aws_appconfig_application["example"]["id"]) for __key, __value in example_configuration_profiles.configuration_profile_ids]
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 dictionaryThe following arguments are supported:
- Application
Id string - ID of the AppConfig Application.
- Application
Id string - ID of the AppConfig Application.
- application
Id String - ID of the AppConfig Application.
- application
Id string - ID of the AppConfig Application.
- application_
id str - ID of the AppConfig Application.
- application
Id String - ID of the AppConfig Application.
getConfigurationProfiles Result
The following output properties are available:
- Application
Id string - Configuration
Profile List<string>Ids - Set of Configuration Profile IDs associated with the AppConfig Application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Application
Id string - Configuration
Profile []stringIds - Set of Configuration Profile IDs associated with the AppConfig Application.
- Id string
- The provider-assigned unique ID for this managed resource.
- application
Id String - configuration
Profile List<String>Ids - Set of Configuration Profile IDs associated with the AppConfig Application.
- id String
- The provider-assigned unique ID for this managed resource.
- application
Id string - configuration
Profile string[]Ids - 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_ Sequence[str]ids - Set of Configuration Profile IDs associated with the AppConfig Application.
- id str
- The provider-assigned unique ID for this managed resource.
- application
Id String - configuration
Profile List<String>Ids - 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
awsTerraform Provider.
Viewing docs for AWS v5.43.0 (Older version)
published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 2026 by Pulumi
