Recycle Bin

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

API Group: aws.konfig.io/v1alpha1

RbinRule # CLOUD CONTROL · AWS::Rbin::Rule

RbinRule manages AWS::Rbin::Rule through the AWS Cloud Control API.

kubectl get rbinrules · example on GitHub

Example

# RbinRule — Recycle Bin
# 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/rbin.html#rbinrule
apiVersion: aws.konfig.io/v1alpha1
kind: RbinRule
metadata:
  name: example-rbinrule
  namespace: default
spec:
  description: Managed by konfig-konector
  excludeResourceTags:
  - resourceTagKey: example
    resourceTagValue: example
  lockConfiguration:
    unlockDelayUnit: DAYS
    unlockDelayValue: 7
  providerRef:
    name: example-rbinrule
    region: us-east-1
  resourceTags:
  - resourceTagKey: example
    resourceTagValue: example
  resourceType: EBS_SNAPSHOT
  retentionPeriod:
    retentionPeriodUnit: DAYS
    retentionPeriodValue: 1
  status: example
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
descriptionstring—The description of the retention rule.
excludeResourceTagsarray<object>—Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
excludeResourceTags[].resourceTagKeystringyesThe tag key of the resource.
excludeResourceTags[].resourceTagValuestringyesThe tag value of the resource
lockConfigurationobject—Information about the retention rule lock configuration.
lockConfiguration.unlockDelayUnitenum—The unit of time in which to measure the unlock delay. Allowed: DAYS
lockConfiguration.unlockDelayValueinteger—The unlock delay period, measured in the unit specified for UnlockDelayUnit.
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.
resourceTagsarray<object>—Information about the resource tags used to identify resources that are retained by the retention rule.
resourceTags[].resourceTagKeystringyesThe tag key of the resource.
resourceTags[].resourceTagValuestringyesThe tag value of the resource
resourceTypeenumyesThe resource type retained by the retention rule. Allowed: EBS_SNAPSHOT, EC2_IMAGE, EBS_VOLUME
retentionPeriodobjectyesInformation about the retention period for which the retention rule is to retain resources.
retentionPeriod.retentionPeriodUnitenumyesThe retention period unit of the rule Allowed: DAYS
retentionPeriod.retentionPeriodValueintegeryesThe retention period value of the rule.
statusstring—The state of the retention rule.
tagsarray<object>—Information about the tags assigned to the retention rule.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—Rule Arn is unique for each rule.
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—
lockStatestring—The lock state for the retention rule.
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.