CloudWatch RUM

1 resource kind. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

RUMAppMonitor # CLOUD CONTROL · AWS::RUM::AppMonitor

RUMAppMonitor manages AWS::RUM::AppMonitor through the AWS Cloud Control API.

kubectl get rumappmonitors · example on GitHub

Example

# RUMAppMonitor — CloudWatch RUM
# 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/rum.html#rumappmonitor
apiVersion: aws.konfig.io/v1alpha1
kind: RUMAppMonitor
metadata:
  name: example-rumappmonitor
  namespace: default
spec:
  appMonitorConfiguration:
    allowCookies: false
    enableXRay: true
    excludedPages:
    - example
    favoritePages:
    - example
    guestRoleArn: arn:aws:iam::123456789012:role/example-role
    includedPages:
    - example
    metricDestinations:
    - destination: CloudWatch
      destinationArn: arn:aws:iam::123456789012:role/example-role
      iamRoleArn: arn:aws:iam::123456789012:role/example-role
      metricDefinitions:
      - eventPattern: example
        name: example-rumappmonitor
        namespace: example
        unitLabel: example
        valueKey: example
    sessionSampleRate: 1
    telemetries:
    - example
  customEvents:
    status: ENABLED
  cwLogEnabled: true
  deobfuscationConfiguration:
    javaScriptSourceMaps:
      s3Uri: example
      status: ENABLED
  domain: example
  domainList:
  - example
  name: example-rumappmonitor
  platform: Web
  providerRef:
    name: example-rumappmonitor
    region: us-east-1
  resourcePolicy:
    policyDocument: '{"Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Action": ["s3:GetObject"],
      "Resource": "*"}]}'
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
appMonitorConfigurationobject—RUMAppMonitorAppMonitorConfiguration is a nested property type of AWS::RUM::AppMonitor.
appMonitorConfiguration.allowCookiesboolean—If you set this to true, the RUM web client sets two cookies, a session cookie and a user cookie.
appMonitorConfiguration.enableXRayboolean—If you set this to true, RUM enables xray tracing for the user sessions that RUM samples.
appMonitorConfiguration.excludedPagesarray<string>—A list of URLs in your website or application to exclude from RUM data collection.
appMonitorConfiguration.favoritePagesarray<string>—A list of pages in the RUM console that are to be displayed with a favorite icon.
appMonitorConfiguration.guestRoleArnstring—The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM.
appMonitorConfiguration.identityPoolIdstring—The ID of the identity pool that is used to authorize the sending of data to RUM.
appMonitorConfiguration.includedPagesarray<string>—If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
appMonitorConfiguration.metricDestinationsarray<object>—An array of structures which define the destinations and the metrics that you want to send.
appMonitorConfiguration.metricDestinations[].destinationenumyesDefines the destination to send the metrics to. Allowed: CloudWatch, Evidently
appMonitorConfiguration.metricDestinations[].destinationArnstring—Evidently has been discontinued and therefore this is no longer an acceptable field.
appMonitorConfiguration.metricDestinations[].iamRoleArnstring—Evidently has been discontinued and therefore this is no longer an acceptable field.
appMonitorConfiguration.metricDestinations[].metricDefinitionsarray<object>—An array of structures which define the metrics that you want to send.
appMonitorConfiguration.metricDestinations[].metricDefinitions[].dimensionKeysmap<string>—Use this field only if you are sending the metric to CloudWatch.
appMonitorConfiguration.metricDestinations[].metricDefinitions[].eventPatternstring—The pattern that defines the metric, specified as a JSON object.
appMonitorConfiguration.metricDestinations[].metricDefinitions[].namestringyesThe name for the metric that is defined in this structure.
appMonitorConfiguration.metricDestinations[].metricDefinitions[].namespacestring—The namespace used by CloudWatch Metrics for the metric that is defined in this structure
appMonitorConfiguration.metricDestinations[].metricDefinitions[].unitLabelstring—The CloudWatch metric unit to use for this metric.
appMonitorConfiguration.metricDestinations[].metricDefinitions[].valueKeystring—The field within the event object that the metric value is sourced from.
appMonitorConfiguration.sessionSampleRatenumber—Specifies the percentage of user sessions to use for RUM data collection.
appMonitorConfiguration.telemetriesarray<string>—An array that lists the types of telemetry data that this app monitor is to collect.
customEventsobject—RUMAppMonitorCustomEvents is a nested property type of AWS::RUM::AppMonitor.
customEvents.statusenum—Indicates whether AppMonitor accepts custom events. Allowed: ENABLED, DISABLED
cwLogEnabledboolean—Data collected by RUM is kept by RUM for 30 days and then deleted.
deobfuscationConfigurationobject—RUMAppMonitorDeobfuscationConfiguration is a nested property type of AWS::RUM::AppMonitor.
deobfuscationConfiguration.javaScriptSourceMapsobject—A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
deobfuscationConfiguration.javaScriptSourceMaps.s3Uristring—The S3Uri of the bucket or folder that stores the source map files.
deobfuscationConfiguration.javaScriptSourceMaps.statusenumyesSpecifies whether JavaScript error stack traces should be unminified for this app monitor. Allowed: ENABLED, DISABLED
domainstring—The top-level internet domain name for which your application has administrative authority.
domainListarray<string>—The top-level internet domain names for which your application has administrative authority.
namestringyesA name for the app monitor Create-only in AWS: changing it requires replacing the resource.
platformenum—Create-only in AWS: changing it requires replacing the resource. Allowed: Web, Android, iOS
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.
resourcePolicyobject—RUMAppMonitorResourcePolicy is a nested property type of AWS::RUM::AppMonitor.
resourcePolicy.policyDocumentstringyesThe JSON to use as the resource policy.
resourcePolicy.policyRevisionIdstring—A string value that you can use to conditionally update your policy.
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
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.
idstring—The unique ID of the new app monitor.
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.