AWS v6.54.2 published on Wednesday, Oct 2, 2024 by Pulumi
aws.appconfig.getConfigurationProfile
Explore with Pulumi AI
Provides access to an AppConfig Configuration Profile.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.appconfig.getConfigurationProfile({
applicationId: "b5d5gpj",
configurationProfileId: "qrbb1c1",
});
import pulumi
import pulumi_aws as aws
example = aws.appconfig.get_configuration_profile(application_id="b5d5gpj",
configuration_profile_id="qrbb1c1")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.AppConfig.GetConfigurationProfile.Invoke(new()
{
ApplicationId = "b5d5gpj",
ConfigurationProfileId = "qrbb1c1",
});
});
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());
}
}
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:
- Application
Id string - ID of the AppConfig application to which this configuration profile belongs.
- Configuration
Profile stringId - ID of the Configuration Profile.
- Dictionary<string, string>
- Map of tags for the resource.
- Application
Id string - ID of the AppConfig application to which this configuration profile belongs.
- Configuration
Profile stringId - ID of the Configuration Profile.
- map[string]string
- Map of tags for the resource.
- application
Id String - ID of the AppConfig application to which this configuration profile belongs.
- configuration
Profile StringId - ID of the Configuration Profile.
- Map<String,String>
- Map of tags for the resource.
- application
Id string - ID of the AppConfig application to which this configuration profile belongs.
- configuration
Profile stringId - ID of the Configuration Profile.
- {[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_ strid - ID of the Configuration Profile.
- Mapping[str, str]
- Map of tags for the resource.
- application
Id String - ID of the AppConfig application to which this configuration profile belongs.
- configuration
Profile StringId - ID of the Configuration Profile.
- Map<String>
- Map of tags for the resource.
getConfigurationProfile Result
The following output properties are available:
- Application
Id string - Arn string
- ARN of the Configuration Profile.
- Configuration
Profile stringId - Description string
- Description of the Configuration Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kms
Key stringIdentifier - Location
Uri string - Location URI of the Configuration Profile.
- Name string
- Name of the Configuration Profile.
- Retrieval
Role stringArn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Dictionary<string, string>
- Map of tags for the resource.
- Type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- Validators
List<Get
Configuration Profile Validator> - Nested list of methods for validating the configuration.
- Application
Id string - Arn string
- ARN of the Configuration Profile.
- Configuration
Profile stringId - Description string
- Description of the Configuration Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kms
Key stringIdentifier - Location
Uri string - Location URI of the Configuration Profile.
- Name string
- Name of the Configuration Profile.
- Retrieval
Role stringArn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- map[string]string
- Map of tags for the resource.
- Type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- Validators
[]Get
Configuration Profile Validator - Nested list of methods for validating the configuration.
- application
Id String - arn String
- ARN of the Configuration Profile.
- configuration
Profile StringId - description String
- Description of the Configuration Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- kms
Key StringIdentifier - location
Uri String - Location URI of the Configuration Profile.
- name String
- Name of the Configuration Profile.
- retrieval
Role StringArn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Map<String,String>
- Map of tags for the resource.
- type String
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
List<Get
Configuration Profile Validator> - Nested list of methods for validating the configuration.
- application
Id string - arn string
- ARN of the Configuration Profile.
- configuration
Profile stringId - description string
- Description of the Configuration Profile.
- id string
- The provider-assigned unique ID for this managed resource.
- kms
Key stringIdentifier - location
Uri string - Location URI of the Configuration Profile.
- name string
- Name of the Configuration Profile.
- retrieval
Role stringArn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- {[key: string]: string}
- Map of tags for the resource.
- type string
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
Get
Configuration Profile Validator[] - Nested list of methods for validating the configuration.
- application_
id str - arn str
- ARN of the Configuration Profile.
- configuration_
profile_ strid - description str
- Description of the Configuration Profile.
- id str
- The provider-assigned unique ID for this managed resource.
- kms_
key_ stridentifier - location_
uri str - Location URI of the Configuration Profile.
- name str
- Name of the Configuration Profile.
- retrieval_
role_ strarn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- Mapping[str, str]
- Map of tags for the resource.
- type str
- Type of validator. Valid values: JSON_SCHEMA and LAMBDA.
- validators
Sequence[Get
Configuration Profile Validator] - Nested list of methods for validating the configuration.
- application
Id String - arn String
- ARN of the Configuration Profile.
- configuration
Profile StringId - description String
- Description of the Configuration Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- kms
Key StringIdentifier - location
Uri String - Location URI of the Configuration Profile.
- name String
- Name of the Configuration Profile.
- retrieval
Role StringArn - ARN of an IAM role with permission to access the configuration at the specified location_uri.
- 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
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.