X-Ray

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

API Group: aws.konfig.io/v1alpha1

XRayGroup # GA

XRayGroup is the Schema for managing X-Ray groups.

kubectl get xraygroups · example on GitHub

Example

# XRayGroup — X-Ray
# 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/xray.html#xraygroup
apiVersion: aws.konfig.io/v1alpha1
kind: XRayGroup
metadata:
  name: example-xraygroup
  namespace: default
spec:
  filterExpression: example
  groupName: example-xraygroup
  insightsConfiguration:
    enabled: true
    notificationsEnabled: true
  providerRef:
    name: example-xraygroup
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
filterExpressionstring—FilterExpression defines criteria by which to group traces.
groupNamestringyesGroupName is the case-sensitive name of the group.
insightsConfigurationobject—InsightsConfiguration configures insights and insight notifications.
insightsConfiguration.enabledboolean—Enabled turns on insights for the group.
insightsConfiguration.notificationsEnabledboolean—NotificationsEnabled turns on insights notifications.
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 AWS resource tags to apply at creation time.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the group.
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.

XRayResourcePolicy # CLOUD CONTROL · AWS::XRay::ResourcePolicy

XRayResourcePolicy manages AWS::XRay::ResourcePolicy through the AWS Cloud Control API.

kubectl get xrayresourcepolicies · example on GitHub

Example

# XRayResourcePolicy — X-Ray
# 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/xray.html#xrayresourcepolicy
apiVersion: aws.konfig.io/v1alpha1
kind: XRayResourcePolicy
metadata:
  name: example-xrayresourcepolicy
  namespace: default
spec:
  bypassPolicyLockoutCheck: false
  policyDocument: '{"Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Action": ["s3:GetObject"],
    "Resource": "*"}]}'
  policyName: example-xrayresourcepolicy
  providerRef:
    name: example-xrayresourcepolicy
    region: us-east-1

Spec

FieldTypeRequiredDescription
bypassPolicyLockoutCheckboolean—A flag to indicate whether to bypass the resource policy lockout safety check
policyDocumentstringyesThe resource policy document, which can be up to 5kb in size.
policyNamestringyesThe name of the resource policy.
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
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.

XRaySamplingRule # GA

XRaySamplingRule is the Schema for managing X-Ray sampling rules.

kubectl get xraysamplingrules · example on GitHub

Example

# XRaySamplingRule — X-Ray
# 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/xray.html#xraysamplingrule
apiVersion: aws.konfig.io/v1alpha1
kind: XRaySamplingRule
metadata:
  name: example-xraysamplingrule
  namespace: default
spec:
  fixedRate: 1
  host: example
  httpMethod: example
  priority: 1
  providerRef:
    name: example-xraysamplingrule
    region: us-east-1
  reservoirSize: 1
  resourceArn: arn:aws:iam::123456789012:role/example-role
  ruleName: example-xraysamplingrule
  serviceName: example-xraysamplingrule
  serviceType: example
  tags:
    environment: dev
    team: platform
  urlPath: example

Spec

FieldTypeRequiredDescription
fixedRatenumberyesFixedRate is the fraction of matching requests to instrument, after the reservoir is exhausted (e.g.
hoststring—Host matches the hostname from a request URL.
httpMethodstring—HTTPMethod matches the HTTP method of a request.
priorityintegeryesPriority of the sampling rule.
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.
reservoirSizeintegeryesReservoirSize is a fixed number of matching requests to instrument per second, before applying the fixed rate.
resourceArnstring—ResourceARN matches the ARN of the AWS resource on which the service runs.
ruleNamestringyesRuleName is the name of the sampling rule.
serviceNamestring—ServiceName matches the name that the service uses to identify itself in segments.
serviceTypestring—ServiceType matches the origin that the service uses to identify its type in segments.
tagsmap<string>—Tags are AWS resource tags to apply at creation time.
urlPathstring—URLPath matches the path from a request URL.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the sampling rule.
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.

XRayTransactionSearchConfig # CLOUD CONTROL · AWS::XRay::TransactionSearchConfig ⚠ DESTRUCTIVE SCOPE

Caution, destructive scope: account-wide X-Ray setting. Provided for completeness; do not use from application namespaces. Restrict with AWSProvider.allowedNamespaces and RBAC. XRayTransactionSearchConfig manages AWS::XRay::TransactionSearchConfig through the AWS Cloud Control API.

kubectl get xraytransactionsearchconfigs · example on GitHub

Example

# XRayTransactionSearchConfig — X-Ray
# 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/xray.html#xraytransactionsearchconfig
apiVersion: aws.konfig.io/v1alpha1
kind: XRayTransactionSearchConfig
metadata:
  name: example-xraytransactionsearchconfig
  namespace: default
spec:
  indexingPercentage: 1
  providerRef:
    name: example-xraytransactionsearchconfig
    region: us-east-1

Spec

FieldTypeRequiredDescription
indexingPercentagenumber—
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—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.