AWS Native

Pulumi Official
Package maintained by Pulumi
v0.16.1 published on Saturday, Apr 30, 2022 by Pulumi

Environment

Resource schema for AWS::MWAA::Environment

Create a Environment Resource

new Environment(name: string, args?: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                airflow_configuration_options: Optional[Any] = None,
                airflow_version: Optional[str] = None,
                dag_s3_path: Optional[str] = None,
                environment_class: Optional[str] = None,
                execution_role_arn: Optional[str] = None,
                kms_key: Optional[str] = None,
                logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
                max_workers: Optional[int] = None,
                min_workers: Optional[int] = None,
                name: Optional[str] = None,
                network_configuration: Optional[EnvironmentNetworkConfigurationArgs] = None,
                plugins_s3_object_version: Optional[str] = None,
                plugins_s3_path: Optional[str] = None,
                requirements_s3_object_version: Optional[str] = None,
                requirements_s3_path: Optional[str] = None,
                schedulers: Optional[int] = None,
                source_bucket_arn: Optional[str] = None,
                tags: Optional[Any] = None,
                webserver_access_mode: Optional[EnvironmentWebserverAccessMode] = None,
                weekly_maintenance_window_start: Optional[str] = None)
@overload
def Environment(resource_name: str,
                args: Optional[EnvironmentArgs] = None,
                opts: Optional[ResourceOptions] = None)
func NewEnvironment(ctx *Context, name string, args *EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs? args = null, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws-native:mwaa:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Environment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Environment resource accepts the following input properties:

AirflowConfigurationOptions object

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

AirflowVersion string
DagS3Path string
EnvironmentClass string
ExecutionRoleArn string
KmsKey string
LoggingConfiguration Pulumi.AwsNative.MWAA.Inputs.EnvironmentLoggingConfigurationArgs
MaxWorkers int
MinWorkers int
Name string
NetworkConfiguration Pulumi.AwsNative.MWAA.Inputs.EnvironmentNetworkConfigurationArgs
PluginsS3ObjectVersion string
PluginsS3Path string
RequirementsS3ObjectVersion string
RequirementsS3Path string
Schedulers int
SourceBucketArn string
Tags object

A map of tags for the environment.

WebserverAccessMode Pulumi.AwsNative.MWAA.EnvironmentWebserverAccessMode
WeeklyMaintenanceWindowStart string
AirflowConfigurationOptions interface{}

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

AirflowVersion string
DagS3Path string
EnvironmentClass string
ExecutionRoleArn string
KmsKey string
LoggingConfiguration EnvironmentLoggingConfigurationArgs
MaxWorkers int
MinWorkers int
Name string
NetworkConfiguration EnvironmentNetworkConfigurationArgs
PluginsS3ObjectVersion string
PluginsS3Path string
RequirementsS3ObjectVersion string
RequirementsS3Path string
Schedulers int
SourceBucketArn string
Tags interface{}

A map of tags for the environment.

WebserverAccessMode EnvironmentWebserverAccessMode
WeeklyMaintenanceWindowStart string
airflowConfigurationOptions Object

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

airflowVersion String
dagS3Path String
environmentClass String
executionRoleArn String
kmsKey String
loggingConfiguration EnvironmentLoggingConfigurationArgs
maxWorkers Integer
minWorkers Integer
name String
networkConfiguration EnvironmentNetworkConfigurationArgs
pluginsS3ObjectVersion String
pluginsS3Path String
requirementsS3ObjectVersion String
requirementsS3Path String
schedulers Integer
sourceBucketArn String
tags Object

A map of tags for the environment.

webserverAccessMode EnvironmentWebserverAccessMode
weeklyMaintenanceWindowStart String
airflowConfigurationOptions any

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

airflowVersion string
dagS3Path string
environmentClass string
executionRoleArn string
kmsKey string
loggingConfiguration EnvironmentLoggingConfigurationArgs
maxWorkers number
minWorkers number
name string
networkConfiguration EnvironmentNetworkConfigurationArgs
pluginsS3ObjectVersion string
pluginsS3Path string
requirementsS3ObjectVersion string
requirementsS3Path string
schedulers number
sourceBucketArn string
tags any

A map of tags for the environment.

webserverAccessMode EnvironmentWebserverAccessMode
weeklyMaintenanceWindowStart string
airflow_configuration_options Any

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

airflow_version str
dag_s3_path str
environment_class str
execution_role_arn str
kms_key str
logging_configuration EnvironmentLoggingConfigurationArgs
max_workers int
min_workers int
name str
network_configuration EnvironmentNetworkConfigurationArgs
plugins_s3_object_version str
plugins_s3_path str
requirements_s3_object_version str
requirements_s3_path str
schedulers int
source_bucket_arn str
tags Any

A map of tags for the environment.

webserver_access_mode EnvironmentWebserverAccessMode
weekly_maintenance_window_start str
airflowConfigurationOptions Any

Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

[core]
dags_folder={AIRFLOW_HOME}/dags

Would be represented as

"core.dags_folder": "{AIRFLOW_HOME}/dags"

airflowVersion String
dagS3Path String
environmentClass String
executionRoleArn String
kmsKey String
loggingConfiguration Property Map
maxWorkers Number
minWorkers Number
name String
networkConfiguration Property Map
pluginsS3ObjectVersion String
pluginsS3Path String
requirementsS3ObjectVersion String
requirementsS3Path String
schedulers Number
sourceBucketArn String
tags Any

A map of tags for the environment.

webserverAccessMode "PRIVATE_ONLY" | "PUBLIC_ONLY"
weeklyMaintenanceWindowStart String

Outputs

All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:

Arn string
Id string

The provider-assigned unique ID for this managed resource.

WebserverUrl string
Arn string
Id string

The provider-assigned unique ID for this managed resource.

WebserverUrl string
arn String
id String

The provider-assigned unique ID for this managed resource.

webserverUrl String
arn string
id string

The provider-assigned unique ID for this managed resource.

webserverUrl string
arn str
id str

The provider-assigned unique ID for this managed resource.

webserver_url str
arn String
id String

The provider-assigned unique ID for this managed resource.

webserverUrl String

Supporting Types

EnvironmentLoggingConfiguration

EnvironmentLoggingLevel

Critical
CRITICAL
Error
ERROR
Warning
WARNING
Info
INFO
Debug
DEBUG
EnvironmentLoggingLevelCritical
CRITICAL
EnvironmentLoggingLevelError
ERROR
EnvironmentLoggingLevelWarning
WARNING
EnvironmentLoggingLevelInfo
INFO
EnvironmentLoggingLevelDebug
DEBUG
Critical
CRITICAL
Error
ERROR
Warning
WARNING
Info
INFO
Debug
DEBUG
Critical
CRITICAL
Error
ERROR
Warning
WARNING
Info
INFO
Debug
DEBUG
CRITICAL
CRITICAL
ERROR
ERROR
WARNING
WARNING
INFO
INFO
DEBUG
DEBUG
"CRITICAL"
CRITICAL
"ERROR"
ERROR
"WARNING"
WARNING
"INFO"
INFO
"DEBUG"
DEBUG

EnvironmentModuleLoggingConfiguration

EnvironmentNetworkConfiguration

SecurityGroupIds List<string>

A list of security groups to use for the environment.

SubnetIds List<string>

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

SecurityGroupIds []string

A list of security groups to use for the environment.

SubnetIds []string

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

securityGroupIds List

A list of security groups to use for the environment.

subnetIds List

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

securityGroupIds string[]

A list of security groups to use for the environment.

subnetIds string[]

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

security_group_ids Sequence[str]

A list of security groups to use for the environment.

subnet_ids Sequence[str]

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

securityGroupIds List

A list of security groups to use for the environment.

subnetIds List

A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

EnvironmentWebserverAccessMode

PrivateOnly
PRIVATE_ONLY
PublicOnly
PUBLIC_ONLY
EnvironmentWebserverAccessModePrivateOnly
PRIVATE_ONLY
EnvironmentWebserverAccessModePublicOnly
PUBLIC_ONLY
PrivateOnly
PRIVATE_ONLY
PublicOnly
PUBLIC_ONLY
PrivateOnly
PRIVATE_ONLY
PublicOnly
PUBLIC_ONLY
PRIVATE_ONLY
PRIVATE_ONLY
PUBLIC_ONLY
PUBLIC_ONLY
"PRIVATE_ONLY"
PRIVATE_ONLY
"PUBLIC_ONLY"
PUBLIC_ONLY

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0