1. Packages
  2. AWS Native
  3. API Docs
  4. mwaa
  5. getEnvironment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.mwaa.getEnvironment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    AirflowVersion string
    Arn string
    CeleryExecutorQueue string
    DagS3Path string
    DatabaseVpcEndpointService 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
    StartupScriptS3ObjectVersion string
    StartupScriptS3Path string
    Tags object

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    WebserverAccessMode Pulumi.AwsNative.Mwaa.EnvironmentWebserverAccessMode
    WebserverUrl string
    WebserverVpcEndpointService 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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    AirflowVersion string
    Arn string
    CeleryExecutorQueue string
    DagS3Path string
    DatabaseVpcEndpointService 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
    StartupScriptS3ObjectVersion string
    StartupScriptS3Path string
    Tags interface{}

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    WebserverAccessMode EnvironmentWebserverAccessMode
    WebserverUrl string
    WebserverVpcEndpointService 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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion String
    arn String
    celeryExecutorQueue String
    dagS3Path String
    databaseVpcEndpointService 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
    startupScriptS3ObjectVersion String
    startupScriptS3Path String
    tags Object

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode EnvironmentWebserverAccessMode
    webserverUrl String
    webserverVpcEndpointService 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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion string
    arn string
    celeryExecutorQueue string
    dagS3Path string
    databaseVpcEndpointService 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
    startupScriptS3ObjectVersion string
    startupScriptS3Path string
    tags any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode EnvironmentWebserverAccessMode
    webserverUrl string
    webserverVpcEndpointService 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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflow_version str
    arn str
    celery_executor_queue str
    dag_s3_path str
    database_vpc_endpoint_service 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
    startup_script_s3_object_version str
    startup_script_s3_path str
    tags Any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserver_access_mode EnvironmentWebserverAccessMode
    webserver_url str
    webserver_vpc_endpoint_service 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"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion String
    arn String
    celeryExecutorQueue String
    dagS3Path String
    databaseVpcEndpointService 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
    startupScriptS3ObjectVersion String
    startupScriptS3Path String
    tags Any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode "PRIVATE_ONLY" | "PUBLIC_ONLY"
    webserverUrl String
    webserverVpcEndpointService 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
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi