AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is the response object from the GetConfigurationProfile operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.AppConfig.Model.GetConfigurationProfileResponse

Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z

Syntax

C#
public class GetConfigurationProfileResponse : AmazonWebServiceResponse

The GetConfigurationProfileResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ApplicationId System.String

Gets and sets the property ApplicationId.

The application ID.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Description System.String

Gets and sets the property Description.

The configuration profile description.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Id System.String

Gets and sets the property Id.

The configuration profile ID.

Public Property KmsKeyArn System.String

Gets and sets the property KmsKeyArn.

The Amazon Resource Name of the Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.

Public Property KmsKeyIdentifier System.String

Gets and sets the property KmsKeyIdentifier.

The Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.

Public Property LocationUri System.String

Gets and sets the property LocationUri.

The URI location of the configuration.

Public Property Name System.String

Gets and sets the property Name.

The name of the configuration profile.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property RetrievalRoleArn System.String

Gets and sets the property RetrievalRoleArn.

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

Public Property Type System.String

Gets and sets the property Type.

The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type:

AWS.AppConfig.FeatureFlags

AWS.Freeform

Public Property Validators System.Collections.Generic.List<Amazon.AppConfig.Model.Validator>

Gets and sets the property Validators.

A list of methods for validating the configuration.

Examples

The following get-configuration-profile example returns the details of the specified configuration profile.

To retrieve configuration profile details


var client = new AmazonAppConfigClient();
var response = client.GetConfigurationProfile(new GetConfigurationProfileRequest 
{
    ApplicationId = "339ohji",
    ConfigurationProfileId = "ur8hx2f"
});

string applicationId = response.ApplicationId;
string id = response.Id;
string locationUri = response.LocationUri;
string name = response.Name;
string retrievalRoleArn = response.RetrievalRoleArn;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5