getConfigurationProfile

Provides access to an AppConfig Configuration Profile.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.AppConfig.GetConfigurationProfile.Invoke(new()
    {
        ApplicationId = "b5d5gpj",
        ConfigurationProfileId = "qrbb1c1",
    });

});
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 {
		_, err = appconfig.LookupConfigurationProfile(ctx, &appconfig.LookupConfigurationProfileArgs{
			ApplicationId:          "b5d5gpj",
			ConfigurationProfileId: "qrbb1c1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.AppconfigFunctions;
import com.pulumi.aws.appconfig.inputs.GetConfigurationProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = AppconfigFunctions.getConfigurationProfile(GetConfigurationProfileArgs.builder()
            .applicationId("b5d5gpj")
            .configurationProfileId("qrbb1c1")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.appconfig.get_configuration_profile(application_id="b5d5gpj",
    configuration_profile_id="qrbb1c1")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.appconfig.getConfigurationProfile({
    applicationId: "b5d5gpj",
    configurationProfileId: "qrbb1c1",
});
variables:
  example:
    fn::invoke:
      Function: aws:appconfig:getConfigurationProfile
      Arguments:
        applicationId: b5d5gpj
        configurationProfileId: qrbb1c1

Using getConfigurationProfile

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 getConfigurationProfile(args: GetConfigurationProfileArgs, opts?: InvokeOptions): Promise<GetConfigurationProfileResult>
function getConfigurationProfileOutput(args: GetConfigurationProfileOutputArgs, opts?: InvokeOptions): Output<GetConfigurationProfileResult>
def get_configuration_profile(application_id: Optional[str] = None,
                              configuration_profile_id: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetConfigurationProfileResult
def get_configuration_profile_output(application_id: Optional[pulumi.Input[str]] = None,
                              configuration_profile_id: Optional[pulumi.Input[str]] = None,
                              tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationProfileResult]
func LookupConfigurationProfile(ctx *Context, args *LookupConfigurationProfileArgs, opts ...InvokeOption) (*LookupConfigurationProfileResult, error)
func LookupConfigurationProfileOutput(ctx *Context, args *LookupConfigurationProfileOutputArgs, opts ...InvokeOption) LookupConfigurationProfileResultOutput

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

public static class GetConfigurationProfile 
{
    public static Task<GetConfigurationProfileResult> InvokeAsync(GetConfigurationProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationProfileResult> Invoke(GetConfigurationProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigurationProfileResult> getConfigurationProfile(GetConfigurationProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:appconfig/getConfigurationProfile:getConfigurationProfile
  arguments:
    # arguments dictionary

The following arguments are supported:

ApplicationId string

ID of the AppConfig application to which this configuration profile belongs.

ConfigurationProfileId string

ID of the Configuration Profile.

Tags Dictionary<string, string>

Map of tags for the resource.

ApplicationId string

ID of the AppConfig application to which this configuration profile belongs.

ConfigurationProfileId string

ID of the Configuration Profile.

Tags map[string]string

Map of tags for the resource.

applicationId String

ID of the AppConfig application to which this configuration profile belongs.

configurationProfileId String

ID of the Configuration Profile.

tags Map<String,String>

Map of tags for the resource.

applicationId string

ID of the AppConfig application to which this configuration profile belongs.

configurationProfileId string

ID of the Configuration Profile.

tags {[key: string]: string}

Map of tags for the resource.

application_id str

ID of the AppConfig application to which this configuration profile belongs.

configuration_profile_id str

ID of the Configuration Profile.

tags Mapping[str, str]

Map of tags for the resource.

applicationId String

ID of the AppConfig application to which this configuration profile belongs.

configurationProfileId String

ID of the Configuration Profile.

tags Map<String>

Map of tags for the resource.

getConfigurationProfile Result

The following output properties are available:

ApplicationId string
Arn string

ARN of the Configuration Profile.

ConfigurationProfileId string
Description string

Description of the Configuration Profile.

Id string

The provider-assigned unique ID for this managed resource.

LocationUri string

Location URI of the Configuration Profile.

Name string

Name of the Configuration Profile.

RetrievalRoleArn string

ARN of an IAM role with permission to access the configuration at the specified location_uri.

Tags Dictionary<string, string>

Map of tags for the resource.

Type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

Validators List<GetConfigurationProfileValidator>

Nested list of methods for validating the configuration.

ApplicationId string
Arn string

ARN of the Configuration Profile.

ConfigurationProfileId string
Description string

Description of the Configuration Profile.

Id string

The provider-assigned unique ID for this managed resource.

LocationUri string

Location URI of the Configuration Profile.

Name string

Name of the Configuration Profile.

RetrievalRoleArn string

ARN of an IAM role with permission to access the configuration at the specified location_uri.

Tags map[string]string

Map of tags for the resource.

Type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

Validators []GetConfigurationProfileValidator

Nested list of methods for validating the configuration.

applicationId String
arn String

ARN of the Configuration Profile.

configurationProfileId String
description String

Description of the Configuration Profile.

id String

The provider-assigned unique ID for this managed resource.

locationUri String

Location URI of the Configuration Profile.

name String

Name of the Configuration Profile.

retrievalRoleArn String

ARN of an IAM role with permission to access the configuration at the specified location_uri.

tags Map<String,String>

Map of tags for the resource.

type String

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

validators List<GetConfigurationProfileValidator>

Nested list of methods for validating the configuration.

applicationId string
arn string

ARN of the Configuration Profile.

configurationProfileId string
description string

Description of the Configuration Profile.

id string

The provider-assigned unique ID for this managed resource.

locationUri string

Location URI of the Configuration Profile.

name string

Name of the Configuration Profile.

retrievalRoleArn string

ARN of an IAM role with permission to access the configuration at the specified location_uri.

tags {[key: string]: string}

Map of tags for the resource.

type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

validators GetConfigurationProfileValidator[]

Nested list of methods for validating the configuration.

application_id str
arn str

ARN of the Configuration Profile.

configuration_profile_id str
description str

Description of the Configuration Profile.

id str

The provider-assigned unique ID for this managed resource.

location_uri str

Location URI of the Configuration Profile.

name str

Name of the Configuration Profile.

retrieval_role_arn str

ARN of an IAM role with permission to access the configuration at the specified location_uri.

tags Mapping[str, str]

Map of tags for the resource.

type str

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

validators Sequence[GetConfigurationProfileValidator]

Nested list of methods for validating the configuration.

applicationId String
arn String

ARN of the Configuration Profile.

configurationProfileId String
description String

Description of the Configuration Profile.

id String

The provider-assigned unique ID for this managed resource.

locationUri String

Location URI of the Configuration Profile.

name String

Name of the Configuration Profile.

retrievalRoleArn String

ARN of an IAM role with permission to access the configuration at the specified location_uri.

tags Map<String>

Map of tags for the resource.

type String

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

validators List<Property Map>

Nested list of methods for validating the configuration.

Supporting Types

GetConfigurationProfileValidator

Content string

Either the JSON Schema content or the ARN of an AWS Lambda function.

Type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

Content string

Either the JSON Schema content or the ARN of an AWS Lambda function.

Type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

content String

Either the JSON Schema content or the ARN of an AWS Lambda function.

type String

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

content string

Either the JSON Schema content or the ARN of an AWS Lambda function.

type string

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

content str

Either the JSON Schema content or the ARN of an AWS Lambda function.

type str

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

content String

Either the JSON Schema content or the ARN of an AWS Lambda function.

type String

Type of validator. Valid values: JSON_SCHEMA and LAMBDA.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.