toConfigRuleComplianceSummaryGroupKey method
Implementation
ConfigRuleComplianceSummaryGroupKey toConfigRuleComplianceSummaryGroupKey() {
switch (this) {
case 'ACCOUNT_ID':
return ConfigRuleComplianceSummaryGroupKey.accountId;
case 'AWS_REGION':
return ConfigRuleComplianceSummaryGroupKey.awsRegion;
}
throw Exception(
'$this is not known in enum ConfigRuleComplianceSummaryGroupKey');
}