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.

Container for the parameters to the UpdateConfigurationProfile operation. Updates a configuration profile.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppConfig.AmazonAppConfigRequest
      Amazon.AppConfig.Model.UpdateConfigurationProfileRequest

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

Syntax

C#
public class UpdateConfigurationProfileRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The UpdateConfigurationProfileRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ApplicationId System.String

Gets and sets the property ApplicationId.

The application ID.

Public Property ConfigurationProfileId System.String

Gets and sets the property ConfigurationProfileId.

The ID of the configuration profile.

Public Property Description System.String

Gets and sets the property Description.

A description of the configuration profile.

Public Property KmsKeyIdentifier System.String

Gets and sets the property KmsKeyIdentifier.

The identifier for a 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. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service.

Public Property Name System.String

Gets and sets the property Name.

The name of the configuration profile.

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 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 update-configuration-profile example updates the description of the specified configuration profile.

To update a configuration profile


var client = new AmazonAppConfigClient();
var response = client.UpdateConfigurationProfile(new UpdateConfigurationProfileRequest 
{
    ApplicationId = "339ohji",
    ConfigurationProfileId = "ur8hx2f",
    Description = "Configuration profile used for examples."
});

string applicationId = response.ApplicationId;
string description = response.Description;
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