示例#1
0
        public void AppConfigCreateConfigurationProfile()
        {
            #region to-create-a-configuration-profile-1632264580336

            var client   = new AmazonAppConfigClient();
            var response = client.CreateConfigurationProfile(new CreateConfigurationProfileRequest
            {
                ApplicationId    = "339ohji",
                LocationUri      = "ssm-parameter://Example-Parameter",
                Name             = "Example-Configuration-Profile",
                RetrievalRoleArn = "arn:aws:iam::111122223333:role/Example-App-Config-Role"
            });

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

            #endregion
        }