Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.
Verwenden CloudFormation zur Bereitstellung von Accelerate-Konfigurationsänderungen
Wenn Sie Ihr CustomerManagedAlarms Konfigurationsprofil mithilfe von bereitstellen möchten CloudFormation, können Sie die folgenden CloudFormation Vorlagen verwenden. Geben Sie Ihre gewünschte JSON-Konfiguration in das AMSAlarmManagerConfigurationVersion.Content Feld ein.
Wenn Sie die Vorlagen in einem CloudFormation Stack oder Stack-Set bereitstellen, schlägt die Bereitstellung der AMSResourceTaggerDeployment Ressource fehl, wenn Sie das erforderliche JSON-Format für die Konfiguration nicht eingehalten haben. Einzelheiten Accelerate Configuration-Profil: Überwachung zum erwarteten Format finden Sie unter.
Hilfe zur Bereitstellung dieser Vorlagen als CloudFormation Stack oder Stack-Set finden Sie in der entsprechenden CloudFormation AWS-Dokumentation unten:
Anmerkung
Wenn Sie eine Konfigurationsversion mithilfe einer dieser Vorlagen bereitstellen und anschließend den CloudFormation Stack/das Stack-Set löschen, bleibt die Version der Vorlagenkonfiguration die aktuell bereitgestellte Version, und es erfolgt keine weitere Bereitstellung. Wenn Sie zu einer Standardkonfiguration zurückkehren möchten, müssen Sie entweder manuell eine leere Konfiguration bereitstellen (d. h. nur {}) oder Ihren Stack auf eine leere Konfiguration aktualisieren, anstatt den Stack zu löschen.
JSON
{ "Description": "Custom configuration for the AMS Alarm Manager.", "Resources": { "AMSAlarmManagerConfigurationVersion": { "Type": "AWS::AppConfig::HostedConfigurationVersion", "Properties": { "ApplicationId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-ApplicationId" }, "ConfigurationProfileId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-CustomerManagedAlarms-ProfileID" }, "Content": "{}", "ContentType": "application/json" } }, "AMSAlarmManagerDeployment": { "Type": "AWS::AppConfig::Deployment", "Properties": { "ApplicationId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-ApplicationId" }, "ConfigurationProfileId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-CustomerManagedAlarms-ProfileID" }, "ConfigurationVersion": { "Ref": "AMSAlarmManagerConfigurationVersion" }, "DeploymentStrategyId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-Deployment-StrategyID" }, "EnvironmentId": { "Fn::ImportValue": "AMS-Alarm-Manager-Configuration-EnvironmentId" } } } } }
YAML
Description: Custom configuration for the AMS Alarm Manager. Resources: AMSAlarmManagerConfigurationVersion: Type: AWS::AppConfig::HostedConfigurationVersion Properties: ApplicationId: !ImportValue AMS-Alarm-Manager-Configuration-ApplicationId ConfigurationProfileId: !ImportValue AMS-Alarm-Manager-Configuration-CustomerManagedAlarms-ProfileID Content: | { } ContentType: application/json AMSAlarmManagerDeployment: Type: AWS::AppConfig::Deployment Properties: ApplicationId: !ImportValue AMS-Alarm-Manager-Configuration-ApplicationId ConfigurationProfileId: !ImportValue AMS-Alarm-Manager-Configuration-CustomerManagedAlarms-ProfileID ConfigurationVersion: !Ref AMSAlarmManagerConfigurationVersion DeploymentStrategyId: !ImportValue AMS-Alarm-Manager-Configuration-Deployment-StrategyID EnvironmentId: !ImportValue AMS-Alarm-Manager-Configuration-EnvironmentId