aws-native.mwaa.getEnvironment
Explore with Pulumi AI
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:
- Airflow
Configuration objectOptions 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 string - Arn string
- Dag
S3Path string - Environment
Class string - Execution
Role stringArn - Logging
Configuration Pulumi.Aws Native. MWAA. Outputs. Environment Logging Configuration - Max
Workers int - Min
Workers int - Network
Configuration Pulumi.Aws Native. MWAA. Outputs. Environment Network Configuration - Plugins
S3Object stringVersion - Plugins
S3Path string - Requirements
S3Object stringVersion - Requirements
S3Path string - Schedulers int
- Source
Bucket stringArn - Startup
Script stringS3Object Version - Startup
Script stringS3Path - object
A map of tags for the environment.
- Webserver
Access Pulumi.Mode Aws Native. MWAA. Environment Webserver Access Mode - Webserver
Url string - Weekly
Maintenance stringWindow Start
- Airflow
Configuration interface{}Options 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 string - Arn string
- Dag
S3Path string - Environment
Class string - Execution
Role stringArn - Logging
Configuration EnvironmentLogging Configuration - Max
Workers int - Min
Workers int - Network
Configuration EnvironmentNetwork Configuration - Plugins
S3Object stringVersion - Plugins
S3Path string - Requirements
S3Object stringVersion - Requirements
S3Path string - Schedulers int
- Source
Bucket stringArn - Startup
Script stringS3Object Version - Startup
Script stringS3Path - interface{}
A map of tags for the environment.
- Webserver
Access EnvironmentMode Webserver Access Mode - Webserver
Url string - Weekly
Maintenance stringWindow Start
- airflow
Configuration ObjectOptions 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 String - arn String
- dag
S3Path String - environment
Class String - execution
Role StringArn - logging
Configuration EnvironmentLogging Configuration - max
Workers Integer - min
Workers Integer - network
Configuration EnvironmentNetwork Configuration - plugins
S3Object StringVersion - plugins
S3Path String - requirements
S3Object StringVersion - requirements
S3Path String - schedulers Integer
- source
Bucket StringArn - startup
Script StringS3Object Version - startup
Script StringS3Path - Object
A map of tags for the environment.
- webserver
Access EnvironmentMode Webserver Access Mode - webserver
Url String - weekly
Maintenance StringWindow Start
- airflow
Configuration anyOptions 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 string - arn string
- dag
S3Path string - environment
Class string - execution
Role stringArn - logging
Configuration EnvironmentLogging Configuration - max
Workers number - min
Workers number - network
Configuration EnvironmentNetwork Configuration - plugins
S3Object stringVersion - plugins
S3Path string - requirements
S3Object stringVersion - requirements
S3Path string - schedulers number
- source
Bucket stringArn - startup
Script stringS3Object Version - startup
Script stringS3Path - any
A map of tags for the environment.
- webserver
Access EnvironmentMode Webserver Access Mode - webserver
Url string - weekly
Maintenance stringWindow Start
- airflow_
configuration_ Anyoptions 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_ strpath - environment_
class str - execution_
role_ strarn - logging_
configuration EnvironmentLogging Configuration - max_
workers int - min_
workers int - network_
configuration EnvironmentNetwork Configuration - plugins_
s3_ strobject_ version - plugins_
s3_ strpath - requirements_
s3_ strobject_ version - requirements_
s3_ strpath - schedulers int
- source_
bucket_ strarn - startup_
script_ strs3_ object_ version - startup_
script_ strs3_ path - Any
A map of tags for the environment.
- webserver_
access_ Environmentmode Webserver Access Mode - webserver_
url str - weekly_
maintenance_ strwindow_ start
- airflow
Configuration AnyOptions 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 String - arn String
- dag
S3Path String - environment
Class String - execution
Role StringArn - logging
Configuration Property Map - max
Workers Number - min
Workers Number - network
Configuration Property Map - plugins
S3Object StringVersion - plugins
S3Path String - requirements
S3Object StringVersion - requirements
S3Path String - schedulers Number
- source
Bucket StringArn - startup
Script StringS3Object Version - startup
Script StringS3Path - Any
A map of tags for the environment.
- webserver
Access "PRIVATE_ONLY" | "PUBLIC_ONLY"Mode - webserver
Url String - weekly
Maintenance StringWindow Start
Supporting Types
EnvironmentLoggingConfiguration
- Dag
Processing Pulumi.Logs Aws Native. MWAA. Inputs. Environment Module Logging Configuration - Scheduler
Logs Pulumi.Aws Native. MWAA. Inputs. Environment Module Logging Configuration - Task
Logs Pulumi.Aws Native. MWAA. Inputs. Environment Module Logging Configuration - Webserver
Logs Pulumi.Aws Native. MWAA. Inputs. Environment Module Logging Configuration - Worker
Logs Pulumi.Aws Native. MWAA. Inputs. Environment Module Logging Configuration
EnvironmentLoggingLevel
EnvironmentModuleLoggingConfiguration
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level EnvironmentLogging Level
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level EnvironmentLogging Level
EnvironmentNetworkConfiguration
- Security
Group List<string>Ids A list of security groups to use for the environment.
- Subnet
Ids 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.
- Security
Group []stringIds A list of security groups to use for the environment.
- Subnet
Ids []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 List<String>Ids A list of security groups to use for the environment.
- subnet
Ids 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.
- security
Group string[]Ids A list of security groups to use for the environment.
- subnet
Ids 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_ Sequence[str]ids 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.
- security
Group List<String>Ids A list of security groups to use for the environment.
- subnet
Ids 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
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0