AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getEnvironment

Resource schema for AWS::MWAA::Environment

Using getEnvironment

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput

> Note: This function is named LookupEnvironment in the Go SDK.

public static class GetEnvironment 
{
    public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:mwaa:getEnvironment
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string
Name string
name String
name string
name str
name String

getEnvironment Result

The following output properties are available:

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
Arn string
DagS3Path string
EnvironmentClass string
ExecutionRoleArn string
LoggingConfiguration Pulumi.AwsNative.MWAA.Outputs.EnvironmentLoggingConfiguration
MaxWorkers int
MinWorkers int
NetworkConfiguration Pulumi.AwsNative.MWAA.Outputs.EnvironmentNetworkConfiguration
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
WebserverUrl string
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
Arn string
DagS3Path string
EnvironmentClass string
ExecutionRoleArn string
LoggingConfiguration EnvironmentLoggingConfiguration
MaxWorkers int
MinWorkers int
NetworkConfiguration EnvironmentNetworkConfiguration
PluginsS3ObjectVersion string
PluginsS3Path string
RequirementsS3ObjectVersion string
RequirementsS3Path string
Schedulers int
SourceBucketArn string
Tags interface{}

A map of tags for the environment.

WebserverAccessMode EnvironmentWebserverAccessMode
WebserverUrl string
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
arn String
dagS3Path String
environmentClass String
executionRoleArn String
loggingConfiguration EnvironmentLoggingConfiguration
maxWorkers Integer
minWorkers Integer
networkConfiguration EnvironmentNetworkConfiguration
pluginsS3ObjectVersion String
pluginsS3Path String
requirementsS3ObjectVersion String
requirementsS3Path String
schedulers Integer
sourceBucketArn String
tags Object

A map of tags for the environment.

webserverAccessMode EnvironmentWebserverAccessMode
webserverUrl String
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
arn string
dagS3Path string
environmentClass string
executionRoleArn string
loggingConfiguration EnvironmentLoggingConfiguration
maxWorkers number
minWorkers number
networkConfiguration EnvironmentNetworkConfiguration
pluginsS3ObjectVersion string
pluginsS3Path string
requirementsS3ObjectVersion string
requirementsS3Path string
schedulers number
sourceBucketArn string
tags any

A map of tags for the environment.

webserverAccessMode EnvironmentWebserverAccessMode
webserverUrl string
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
arn str
dag_s3_path str
environment_class str
execution_role_arn str
logging_configuration EnvironmentLoggingConfiguration
max_workers int
min_workers int
network_configuration EnvironmentNetworkConfiguration
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
webserver_url str
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
arn String
dagS3Path String
environmentClass String
executionRoleArn String
loggingConfiguration Property Map
maxWorkers Number
minWorkers Number
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"
webserverUrl String
weeklyMaintenanceWindowStart String

Supporting Types

EnvironmentLoggingConfiguration

EnvironmentLoggingLevel

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<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.

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<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.

EnvironmentWebserverAccessMode

Package Details

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