MWAA

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

API Group: aws.konfig.io/v1alpha1

MWAAEnvironment # CLOUD CONTROL · AWS::MWAA::Environment

MWAAEnvironment manages AWS::MWAA::Environment through the AWS Cloud Control API.

kubectl get mwaaenvironments · example on GitHub

Example

# MWAAEnvironment — MWAA
# 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/mwaa.html#mwaaenvironment
apiVersion: aws.konfig.io/v1alpha1
kind: MWAAEnvironment
metadata:
  name: example-mwaaenvironment
  namespace: default
spec:
  airflowVersion: '1.0'
  dagS3Path: example
  endpointManagement: CUSTOMER
  environmentClass: example
  executionRoleArn: arn:aws:iam::123456789012:role/example-role
  kmsKey: example
  loggingConfiguration:
    dagProcessingLogs:
      cloudWatchLogGroupArn: arn:aws:iam::123456789012:role/example-role
      enabled: true
      logLevel: CRITICAL
    schedulerLogs:
      cloudWatchLogGroupArn: arn:aws:iam::123456789012:role/example-role
      enabled: true
      logLevel: CRITICAL
    taskLogs:
      cloudWatchLogGroupArn: arn:aws:iam::123456789012:role/example-role
      enabled: true
      logLevel: CRITICAL
    webserverLogs:
      cloudWatchLogGroupArn: arn:aws:iam::123456789012:role/example-role
      enabled: true
      logLevel: CRITICAL
    workerLogs:
      cloudWatchLogGroupArn: arn:aws:iam::123456789012:role/example-role
      enabled: true
      logLevel: CRITICAL
  maxWebservers: 1
  maxWorkers: 1
  minWebservers: 1
  minWorkers: 1
  name: example-mwaaenvironment
  networkConfiguration:
    securityGroupIds:
    - example
    subnetIds:
    - example
  pluginsS3ObjectVersion: '1.0'
  pluginsS3Path: example
  providerRef:
    name: example-mwaaenvironment
    region: us-east-1
  requirementsS3ObjectVersion: '1.0'
  requirementsS3Path: example
  schedulers: 1
  sourceBucketArn: arn:aws:iam::123456789012:role/example-role
  startupScriptS3ObjectVersion: '1.0'
  startupScriptS3Path: example
  webserverAccessMode: PRIVATE_ONLY
  weeklyMaintenanceWindowStart: example
  workerReplacementStrategy: FORCED

Spec

FieldTypeRequiredDescription
airflowConfigurationOptionsobject—Key/value pairs representing Airflow configuration variables.
airflowVersionstring—
dagS3Pathstring—
endpointManagementenum—Create-only in AWS: changing it requires replacing the resource. Allowed: CUSTOMER, SERVICE
environmentClassstring—
executionRoleArnstring—
kmsKeystring—Create-only in AWS: changing it requires replacing the resource.
loggingConfigurationobject—MWAAEnvironmentLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.dagProcessingLogsobject—MWAAEnvironmentModuleLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.dagProcessingLogs.cloudWatchLogGroupArnstring—
loggingConfiguration.dagProcessingLogs.enabledboolean—
loggingConfiguration.dagProcessingLogs.logLevelenum—Allowed: CRITICAL, ERROR, WARNING, INFO, DEBUG
loggingConfiguration.schedulerLogsobject—MWAAEnvironmentModuleLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.schedulerLogs.cloudWatchLogGroupArnstring—
loggingConfiguration.schedulerLogs.enabledboolean—
loggingConfiguration.schedulerLogs.logLevelenum—Allowed: CRITICAL, ERROR, WARNING, INFO, DEBUG
loggingConfiguration.taskLogsobject—MWAAEnvironmentModuleLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.taskLogs.cloudWatchLogGroupArnstring—
loggingConfiguration.taskLogs.enabledboolean—
loggingConfiguration.taskLogs.logLevelenum—Allowed: CRITICAL, ERROR, WARNING, INFO, DEBUG
loggingConfiguration.webserverLogsobject—MWAAEnvironmentModuleLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.webserverLogs.cloudWatchLogGroupArnstring—
loggingConfiguration.webserverLogs.enabledboolean—
loggingConfiguration.webserverLogs.logLevelenum—Allowed: CRITICAL, ERROR, WARNING, INFO, DEBUG
loggingConfiguration.workerLogsobject—MWAAEnvironmentModuleLoggingConfiguration is a nested property type of AWS::MWAA::Environment.
loggingConfiguration.workerLogs.cloudWatchLogGroupArnstring—
loggingConfiguration.workerLogs.enabledboolean—
loggingConfiguration.workerLogs.logLevelenum—Allowed: CRITICAL, ERROR, WARNING, INFO, DEBUG
maxWebserversinteger—
maxWorkersinteger—
minWebserversinteger—
minWorkersinteger—
namestringyesCreate-only in AWS: changing it requires replacing the resource.
networkConfigurationobject—MWAAEnvironmentNetworkConfiguration is a nested property type of AWS::MWAA::Environment.
networkConfiguration.securityGroupIdsarray<string>—A list of security groups to use for the environment.
networkConfiguration.subnetIdsarray<string>—A list of subnets to use for the environment.
pluginsS3ObjectVersionstring—
pluginsS3Pathstring—
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.
requirementsS3ObjectVersionstring—
requirementsS3Pathstring—
schedulersinteger—
sourceBucketArnstring—
startupScriptS3ObjectVersionstring—
startupScriptS3Pathstring—
tagsobject—A map of tags for the environment.
webserverAccessModeenum—Allowed: PRIVATE_ONLY, PUBLIC_ONLY, PUBLIC_AND_PRIVATE
weeklyMaintenanceWindowStartstring—
workerReplacementStrategyenum—Allowed: FORCED, GRACEFUL

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).
celeryExecutorQueuestring—Read-only: reported by AWS after creation.
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.
databaseVpcEndpointServicestring—Read-only: reported by AWS after creation.
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.
webserverUrlstring—Read-only: reported by AWS after creation.
webserverVpcEndpointServicestring—Read-only: reported by AWS after creation.