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 dictionaryThe following arguments are supported:
- Application
Id 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 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 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 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.
- application
Id 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:
- 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.
- Region string
- 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.
- Region string
- 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.
- region String
- 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.
- region string
- 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.
- region str
- 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.
- region String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
