CloudWatch

8 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

CloudWatchAlarm # GA

CloudWatchAlarm is the Schema for managing CloudWatch metric alarms.

kubectl get cloudwatchalarms · example on GitHub

Example

# CloudWatchAlarm — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchalarm
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchAlarm
metadata:
  name: example-cloudwatchalarm
  namespace: default
spec:
  actionsEnabled: true
  alarmActions:
  - example
  alarmDescription: Managed by konfig-konector
  alarmName: example-cloudwatchalarm
  comparisonOperator: GreaterThanOrEqualToThreshold
  datapointsToAlarm: 1
  dimensions:
  - name: example-cloudwatchalarm
    value: example
  evaluationPeriods: 1
  insufficientDataActions:
  - example
  metricName: example-cloudwatchalarm
  namespace: example
  okActions:
  - example
  period: 1
  providerRef:
    name: example-cloudwatchalarm
    region: us-east-1
  statistic: SampleCount
  tags:
    environment: dev
    team: platform
  threshold: 1
  treatMissingData: breaching
  unit: example

Spec

FieldTypeRequiredDescription
actionsEnabledboolean—ActionsEnabled indicates whether actions should be executed during alarm state changes.
alarmActionsarray<string>—AlarmActions are ARNs of actions to execute when the alarm transitions to ALARM state.
alarmDescriptionstring—AlarmDescription is a description for the alarm.
alarmNamestringyesAlarmName is the name of the alarm.
comparisonOperatorenumyesComparisonOperator is the arithmetic operation to use when comparing the statistic and threshold. Allowed: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold, LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold, GreaterThanUpperThreshold
datapointsToAlarminteger—DatapointsToAlarm is the number of data points that must be breaching to trigger the alarm.
dimensionsarray<object>—Dimensions are the dimensions for the metric.
dimensions[].namestringyesName is the dimension name.
dimensions[].valuestringyesValue is the dimension value.
evaluationPeriodsintegeryesEvaluationPeriods is the number of periods over which data is compared to the threshold.
insufficientDataActionsarray<string>—InsufficientDataActions are ARNs of actions to execute when the alarm has insufficient data.
metricNamestring—MetricName is the name of the metric.
namespacestring—Namespace is the namespace of the metric.
okActionsarray<string>—OKActions are ARNs of actions to execute when the alarm transitions to OK state.
periodinteger—Period is the period in seconds over which the statistic is applied.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
statisticenum—Statistic is the statistic for the metric. Allowed: SampleCount, Average, Sum, Minimum, Maximum
tagsmap<string>—Tags are metadata tags for the alarm.
thresholdnumber—Threshold is the value to compare with the specified statistic.
treatMissingDataenum—TreatMissingData sets how to handle missing data points. Allowed: breaching, notBreaching, ignore, missing
unitstring—Unit is the unit of the metric.

Status

FieldTypeRequiredDescription
alarmArnstring—AlarmARN is the ARN of the alarm.
alarmStatestring—AlarmState is the current state of the alarm.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

CloudWatchAlarmMuteRule # CLOUD CONTROL · AWS::CloudWatch::AlarmMuteRule

CloudWatchAlarmMuteRule manages AWS::CloudWatch::AlarmMuteRule through the AWS Cloud Control API.

kubectl get cloudwatchalarmmuterules · example on GitHub

Example

# CloudWatchAlarmMuteRule — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchalarmmuterule
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchAlarmMuteRule
metadata:
  name: example-cloudwatchalarmmuterule
  namespace: default
spec:
  description: Managed by konfig-konector
  expireDate: example
  muteTargets:
    alarmNames:
    - example
  name: example-cloudwatchalarmmuterule
  providerRef:
    name: example-cloudwatchalarmmuterule
    region: us-east-1
  rule:
    schedule:
      duration: example
      expression: example
      timezone: example
  startDate: example
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
descriptionstring—The description of the AlarmMuteRule
expireDatestring—The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.
muteTargetsobject—Targets to be muted
muteTargets.alarmNamesarray<string>yesThe alarm names to be mute by the AlarmMuteRule
namestring—The name of the AlarmMuteRule Create-only in AWS: changing it requires replacing the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
ruleobjectyesThe rule for the mute
rule.scheduleobjectyesSchedule for the mute to be active
rule.schedule.durationstringyesThe duration of the schedule when it triggers
rule.schedule.expressionstringyesThe expression of the schedule
rule.schedule.timezonestring—The timezone of the schedule
startDatestring—The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.
tagsarray<object>—An array of key-value pairs to apply to this resource.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Amazon Resource Name (ARN) of the AlarmMuteRule Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
lastUpdatedTimestampstring—The last update timestamp of the alarm mute schedule Read-only: reported by AWS after creation.
muteTypestring—The mute type of the alarm mute Read-only: reported by AWS after creation.
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
statusenum—The current status of the AlarmMuteRule Read-only: reported by AWS after creation. Allowed: SCHEDULED, ACTIVE, EXPIRED

CloudWatchDashboard # GA

CloudWatchDashboard is the Schema for managing CloudWatch dashboards.

kubectl get cloudwatchdashboards · example on GitHub

Example

# CloudWatchDashboard — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchdashboard
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchDashboard
metadata:
  name: example-cloudwatchdashboard
  namespace: default
spec:
  dashboardBody: example
  dashboardName: example-cloudwatchdashboard
  providerRef:
    name: example-cloudwatchdashboard
    region: us-east-1

Spec

FieldTypeRequiredDescription
dashboardBodystringyesDashboardBody is the JSON body of the dashboard configuration.
dashboardNamestringyesDashboardName is the name of the dashboard.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
dashboardArnstring—DashboardARN is the ARN of the dashboard.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

CloudWatchInsightRule # CLOUD CONTROL · AWS::CloudWatch::InsightRule

CloudWatchInsightRule manages AWS::CloudWatch::InsightRule through the AWS Cloud Control API.

kubectl get cloudwatchinsightrules · example on GitHub

Example

# CloudWatchInsightRule — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchinsightrule
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchInsightRule
metadata:
  name: example-cloudwatchinsightrule
  namespace: default
spec:
  applyOnTransformedLogs: false
  providerRef:
    name: example-cloudwatchinsightrule
    region: us-east-1
  ruleBody: example
  ruleName: example-cloudwatchinsightrule
  ruleState: ENABLED
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
applyOnTransformedLogsboolean—
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
ruleBodystringyes
ruleNamestringyesCreate-only in AWS: changing it requires replacing the resource.
ruleStateenumyesAllowed: ENABLED, DISABLED
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

CloudWatchLogAlarm # CLOUD CONTROL · AWS::CloudWatch::LogAlarm

CloudWatchLogAlarm manages AWS::CloudWatch::LogAlarm through the AWS Cloud Control API.

kubectl get cloudwatchlogalarms · example on GitHub

Example

# CloudWatchLogAlarm — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchlogalarm
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchLogAlarm
metadata:
  name: example-cloudwatchlogalarm
  namespace: default
spec:
  actionLogLineCount: 1
  actionLogLineRoleArn: arn:aws:iam::123456789012:role/example-role
  actionsEnabled: true
  alarmActions:
  - example
  alarmDescription: Managed by konfig-konector
  alarmName: example-cloudwatchlogalarm
  comparisonOperator: example
  insufficientDataActions:
  - example
  okActions:
  - example
  providerRef:
    name: example-cloudwatchlogalarm
    region: us-east-1
  queryResultsToAlarm: 1
  queryResultsToEvaluate: 1
  scheduledQueryConfiguration:
    aggregationExpression: example
    logGroupIdentifiers:
    - example
    queryString: example
    scheduleConfiguration:
      endTimeOffset: 1
      scheduleExpression: example
      startTimeOffset: 1
    scheduledQueryRoleARN: arn:aws:iam::123456789012:role/example-role
    tags:
    - key: example
      value: example
  tags:
  - key: example
    value: example
  threshold: 1
  treatMissingData: example
  warmUpConfiguration:
    onlyStartEvaluatingAfterWarmUpPeriodEnds: false
    warmUpPeriodDurationInMinutes: 1

Spec

FieldTypeRequiredDescription
actionLogLineCountinteger—The number of log lines to include in alarm notifications.
actionLogLineRoleArnstring—The ARN of the IAM role that grants CloudWatch permissions to fetch log lines for alarm notifications.
actionsEnabledboolean—Indicates whether actions should be executed during any changes to the alarm state.
alarmActionsarray<string>—The list of actions to execute when this alarm transitions into an ALARM state from any other state.
alarmDescriptionstring—The description of the log alarm.
alarmNamestring—The name of the log alarm.
comparisonOperatorstringyesThe arithmetic operation to use when comparing the specified threshold and the query results.
insufficientDataActionsarray<string>—The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state.
okActionsarray<string>—The actions to execute when this alarm transitions to the OK state from any other state.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
queryResultsToAlarmintegeryesThe number of query results that must be breaching to trigger the alarm.
queryResultsToEvaluateintegeryesThe number of query results over which data is compared to the specified threshold.
scheduledQueryConfigurationobjectyesThe scheduled query configuration for the log alarm.
scheduledQueryConfiguration.aggregationExpressionstringyesThe aggregation expression for the scheduled query, e.g.
scheduledQueryConfiguration.logGroupIdentifiersarray<string>—The log groups to query.
scheduledQueryConfiguration.queryStringstringyesThe query string to execute against the specified log groups.
scheduledQueryConfiguration.scheduleConfigurationobjectyesThe schedule configuration.
scheduledQueryConfiguration.scheduleConfiguration.endTimeOffsetinteger—The number of seconds into the past to end the query window.
scheduledQueryConfiguration.scheduleConfiguration.scheduleExpressionstringyesThe expression that defines when the scheduled query runs, e.g.
scheduledQueryConfiguration.scheduleConfiguration.startTimeOffsetintegeryesThe number of seconds into the past to start the query window.
scheduledQueryConfiguration.scheduledQueryRoleARNstringyesThe ARN of the IAM role that grants permissions to execute the scheduled query.
scheduledQueryConfiguration.tagsarray<object>—A list of key-value pairs to associate with the scheduled query that backs the log alarm.
scheduledQueryConfiguration.tags[].keystringyes
scheduledQueryConfiguration.tags[].valuestringyes
tagsarray<object>—A list of key-value pairs to associate with the log alarm.
tags[].keystringyes
tags[].valuestringyes
thresholdnumberyesThe value to compare against the results of the scheduled query evaluation.
treatMissingDatastring—Sets how this alarm is to handle missing data points.
warmUpConfigurationobject—The warm-up configuration for the alarm.
warmUpConfiguration.onlyStartEvaluatingAfterWarmUpPeriodEndsboolean—Specifies whether the alarm waits for the full warm-up period before it starts evaluating.
warmUpConfiguration.warmUpPeriodDurationInMinutesinteger—The length of the warm-up period, in minutes.

Status

FieldTypeRequiredDescription
arnstring—The ARN of the log alarm.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

CloudWatchMetricStream # CLOUD CONTROL · AWS::CloudWatch::MetricStream

CloudWatchMetricStream manages AWS::CloudWatch::MetricStream through the AWS Cloud Control API.

kubectl get cloudwatchmetricstreams · example on GitHub

Example

# CloudWatchMetricStream — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchmetricstream
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchMetricStream
metadata:
  name: example-cloudwatchmetricstream
  namespace: default
spec:
  excludeFilters:
  - metricNames:
    - example
    namespace: example
  firehoseArn: arn:aws:iam::123456789012:role/example-role
  includeFilters:
  - metricNames:
    - example
    namespace: example
  includeLinkedAccountsMetrics: false
  name: example-cloudwatchmetricstream
  outputFormat: example
  providerRef:
    name: example-cloudwatchmetricstream
    region: us-east-1
  roleArn: arn:aws:iam::123456789012:role/example-role
  statisticsConfigurations:
  - additionalStatistics:
    - example
    includeMetrics:
    - metricName: example-cloudwatchmetricstream
      namespace: example
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
excludeFiltersarray<object>—Define which metrics will be not streamed.
excludeFilters[].metricNamesarray<string>—Only metrics with MetricNames matching these values will be streamed.
excludeFilters[].namespacestringyesOnly metrics with Namespace matching this value will be streamed.
firehoseArnstring—The ARN of the Kinesis Firehose where to stream the data.
includeFiltersarray<object>—Define which metrics will be streamed.
includeFilters[].metricNamesarray<string>—Only metrics with MetricNames matching these values will be streamed.
includeFilters[].namespacestringyesOnly metrics with Namespace matching this value will be streamed.
includeLinkedAccountsMetricsboolean—If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream.
namestring—Name of the metric stream.
outputFormatstring—The output format of the data streamed to the Kinesis Firehose.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
roleArnstring—The ARN of the role that provides access to the Kinesis Firehose.
statisticsConfigurationsarray<object>—By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed.
statisticsConfigurations[].additionalStatisticsarray<string>yesThe additional statistics to stream for the metrics listed in IncludeMetrics.
statisticsConfigurations[].includeMetricsarray<object>yesAn array that defines the metrics that are to have additional statistics streamed.
statisticsConfigurations[].includeMetrics[].metricNamestringyesThe name of the metric.
statisticsConfigurations[].includeMetrics[].namespacestringyesThe namespace of the metric.
tagsarray<object>—A set of tags to assign to the delivery stream.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Amazon Resource Name of the metric stream.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
creationDateobject—The date of creation of the metric stream.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
lastUpdateDateobject—The date of the last update of the metric stream.
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
statestring—Displays the state of the Metric Stream.

CloudWatchOTelEnrichment # CLOUD CONTROL · AWS::CloudWatch::OTelEnrichment

CloudWatchOTelEnrichment manages AWS::CloudWatch::OTelEnrichment through the AWS Cloud Control API.

kubectl get cloudwatchotelenrichments · example on GitHub

Example

# CloudWatchOTelEnrichment — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#cloudwatchotelenrichment
apiVersion: aws.konfig.io/v1alpha1
kind: CloudWatchOTelEnrichment
metadata:
  name: example-cloudwatchotelenrichment
  namespace: default
spec:
  providerRef:
    name: example-cloudwatchotelenrichment
    region: us-east-1

Spec

FieldTypeRequiredDescription
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
accountIdstring—The AWS account ID.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
statusenum—Read-only: reported by AWS after creation. Allowed: RUNNING, STOPPED

CompositeAlarm # GA

CompositeAlarm is the Schema for managing CloudWatch composite alarms.

kubectl get compositealarms · example on GitHub

Example

# CompositeAlarm — CloudWatch
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/cloudwatch.html#compositealarm
apiVersion: aws.konfig.io/v1alpha1
kind: CompositeAlarm
metadata:
  name: example-compositealarm
  namespace: default
spec:
  actionsEnabled: true
  alarmActions:
  - example
  alarmDescription: Managed by konfig-konector
  alarmName: example-compositealarm
  alarmRule: example
  insufficientDataActions:
  - example
  okActions:
  - example
  providerRef:
    name: example-compositealarm
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
actionsEnabledboolean—ActionsEnabled indicates whether actions should be executed during alarm state changes.
alarmActionsarray<string>—AlarmActions are ARNs of actions to execute when the alarm transitions to ALARM state.
alarmDescriptionstring—AlarmDescription is a description for the alarm.
alarmNamestringyesAlarmName is the name of the composite alarm.
alarmRulestringyesAlarmRule is the expression that specifies which alarms trigger the composite alarm.
insufficientDataActionsarray<string>—InsufficientDataActions are ARNs of actions to execute when the alarm has insufficient data.
okActionsarray<string>—OKActions are ARNs of actions to execute when the alarm transitions to OK state.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are metadata tags for the composite alarm.

Status

FieldTypeRequiredDescription
alarmArnstring—AlarmARN is the ARN of the composite alarm.
alarmStatestring—AlarmState is the current state of the alarm.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.