Exemplo n.º 1
0
        public void AppConfigCreateDeploymentStrategy()
        {
            #region to-create-a-deployment-strategy-1632264783812

            var client   = new AmazonAppConfigClient();
            var response = client.CreateDeploymentStrategy(new CreateDeploymentStrategyRequest
            {
                DeploymentDurationInMinutes = 15,
                GrowthFactor = 25,
                Name         = "Example-Deployment",
                ReplicateTo  = "SSM_DOCUMENT"
            });

            int    deploymentDurationInMinutes = response.DeploymentDurationInMinutes;
            int    finalBakeTimeInMinutes      = response.FinalBakeTimeInMinutes;
            float  growthFactor = response.GrowthFactor;
            string growthType   = response.GrowthType;
            string id           = response.Id;
            string name         = response.Name;
            string replicateTo  = response.ReplicateTo;

            #endregion
        }