SQS

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

API Group: aws.konfig.io/v1alpha1

SQSQueue # GA

SQSQueue is the Schema for managing SQS Queues.

kubectl get sqsqueues · example on GitHub

Example

# SQSQueue — SQS
# 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/sqs.html#sqsqueue
apiVersion: aws.konfig.io/v1alpha1
kind: SQSQueue
metadata:
  name: example-sqsqueue
  namespace: default
spec:
  delaySeconds: 1
  fifo: false
  kmsKeyId: arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab
  messageRetentionPeriod: 60
  policy: '{"Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Action": ["s3:GetObject"], "Resource":
    "*"}]}'
  providerRef:
    name: example-sqsqueue
    region: us-east-1
  queueName: example-sqsqueue
  receiveMessageWaitTime: 1
  redrivePolicy:
    deadLetterQueueRef: example
    maxReceiveCount: 1
  tags:
    environment: dev
    team: platform
  visibilityTimeout: 1

Spec

FieldTypeRequiredDescription
delaySecondsinteger—DelaySeconds is the time (seconds) messages are delayed before delivery.
fifoboolean—FIFO enables FIFO queue ordering and exactly-once processing.
kmsKeyIdstring—KMSKeyID is the KMS key ARN or alias for SSE-KMS encryption.
messageRetentionPeriodinteger—MessageRetentionPeriod is how long (seconds) messages are retained.
policystring—Policy is a JSON resource policy to attach to the queue.
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.
queueNamestringyesQueueName is the name of the queue.
receiveMessageWaitTimeinteger—ReceiveMessageWaitTime enables long polling when > 0 (seconds).
redrivePolicyobject—RedrivePolicy configures a dead-letter queue.
redrivePolicy.deadLetterQueueRefstringyesDeadLetterQueueRef is the name of an SQSQueue CR in the same namespace.
redrivePolicy.maxReceiveCountintegeryesMaxReceiveCount is the number of times a message can be received before it is sent to the dead-letter queue.
tagsmap<string>—Tags are AWS resource tags to apply.
visibilityTimeoutinteger—VisibilityTimeout is the duration (seconds) that a received message is hidden.

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.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
queueArnstring—QueueARN is the ARN of the SQS queue.
queueUrlstring—QueueURL is the URL of the SQS queue.

SQSQueueInlinePolicy # CLOUD CONTROL · AWS::SQS::QueueInlinePolicy

SQSQueueInlinePolicy manages AWS::SQS::QueueInlinePolicy through the AWS Cloud Control API.

kubectl get sqsqueueinlinepolicies · example on GitHub

Example

# SQSQueueInlinePolicy — SQS
# 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/sqs.html#sqsqueueinlinepolicy
apiVersion: aws.konfig.io/v1alpha1
kind: SQSQueueInlinePolicy
metadata:
  name: example-sqsqueueinlinepolicy
  namespace: default
spec:
  providerRef:
    name: example-sqsqueueinlinepolicy
    region: us-east-1
  queue: example

Spec

FieldTypeRequiredDescription
policyDocumentobjectyesA policy document that contains permissions to add to the specified SQS queue
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.
queuestringyesThe URL of the SQS queue.

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.