CfnEnvironment

class aws_cdk.aws_mwaa.CfnEnvironment(scope, id, *, airflow_configuration_options=None, airflow_version=None, dag_s3_path=None, environment_class=None, execution_role_arn=None, kms_key=None, logging_configuration=None, max_workers=None, min_workers=None, name, network_configuration=None, plugins_s3_object_version=None, plugins_s3_path=None, requirements_s3_object_version=None, requirements_s3_path=None, schedulers=None, source_bucket_arn=None, tags=None, webserver_access_mode=None, weekly_maintenance_window_start=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::MWAA::Environment.

CloudformationResource

AWS::MWAA::Environment

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mwaa as mwaa

# airflow_configuration_options is of type object
# tags is of type object

cfn_environment = mwaa.CfnEnvironment(self, "MyCfnEnvironment",
    name="name",

    # the properties below are optional
    airflow_configuration_options=airflow_configuration_options,
    airflow_version="airflowVersion",
    dag_s3_path="dagS3Path",
    environment_class="environmentClass",
    execution_role_arn="executionRoleArn",
    kms_key="kmsKey",
    logging_configuration=mwaa.CfnEnvironment.LoggingConfigurationProperty(
        dag_processing_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
            cloud_watch_log_group_arn="cloudWatchLogGroupArn",
            enabled=False,
            log_level="logLevel"
        ),
        scheduler_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
            cloud_watch_log_group_arn="cloudWatchLogGroupArn",
            enabled=False,
            log_level="logLevel"
        ),
        task_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
            cloud_watch_log_group_arn="cloudWatchLogGroupArn",
            enabled=False,
            log_level="logLevel"
        ),
        webserver_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
            cloud_watch_log_group_arn="cloudWatchLogGroupArn",
            enabled=False,
            log_level="logLevel"
        ),
        worker_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
            cloud_watch_log_group_arn="cloudWatchLogGroupArn",
            enabled=False,
            log_level="logLevel"
        )
    ),
    max_workers=123,
    min_workers=123,
    network_configuration=mwaa.CfnEnvironment.NetworkConfigurationProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"]
    ),
    plugins_s3_object_version="pluginsS3ObjectVersion",
    plugins_s3_path="pluginsS3Path",
    requirements_s3_object_version="requirementsS3ObjectVersion",
    requirements_s3_path="requirementsS3Path",
    schedulers=123,
    source_bucket_arn="sourceBucketArn",
    tags=tags,
    webserver_access_mode="webserverAccessMode",
    weekly_maintenance_window_start="weeklyMaintenanceWindowStart"
)

Create a new AWS::MWAA::Environment.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • airflow_configuration_options (Optional[Any]) – AWS::MWAA::Environment.AirflowConfigurationOptions.

  • airflow_version (Optional[str]) – AWS::MWAA::Environment.AirflowVersion.

  • dag_s3_path (Optional[str]) – AWS::MWAA::Environment.DagS3Path.

  • environment_class (Optional[str]) – AWS::MWAA::Environment.EnvironmentClass.

  • execution_role_arn (Optional[str]) – AWS::MWAA::Environment.ExecutionRoleArn.

  • kms_key (Optional[str]) – AWS::MWAA::Environment.KmsKey.

  • logging_configuration (Union[IResolvable, LoggingConfigurationProperty, None]) – AWS::MWAA::Environment.LoggingConfiguration.

  • max_workers (Union[int, float, None]) – AWS::MWAA::Environment.MaxWorkers.

  • min_workers (Union[int, float, None]) – AWS::MWAA::Environment.MinWorkers.

  • name (str) – AWS::MWAA::Environment.Name.

  • network_configuration (Union[IResolvable, NetworkConfigurationProperty, None]) – AWS::MWAA::Environment.NetworkConfiguration.

  • plugins_s3_object_version (Optional[str]) – AWS::MWAA::Environment.PluginsS3ObjectVersion.

  • plugins_s3_path (Optional[str]) – AWS::MWAA::Environment.PluginsS3Path.

  • requirements_s3_object_version (Optional[str]) – AWS::MWAA::Environment.RequirementsS3ObjectVersion.

  • requirements_s3_path (Optional[str]) – AWS::MWAA::Environment.RequirementsS3Path.

  • schedulers (Union[int, float, None]) – AWS::MWAA::Environment.Schedulers.

  • source_bucket_arn (Optional[str]) – AWS::MWAA::Environment.SourceBucketArn.

  • tags (Optional[Any]) – AWS::MWAA::Environment.Tags.

  • webserver_access_mode (Optional[str]) – AWS::MWAA::Environment.WebserverAccessMode.

  • weekly_maintenance_window_start (Optional[str]) – AWS::MWAA::Environment.WeeklyMaintenanceWindowStart.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::MWAA::Environment'
airflow_configuration_options

AWS::MWAA::Environment.AirflowConfigurationOptions.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowconfigurationoptions

Return type

Any

airflow_version

AWS::MWAA::Environment.AirflowVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowversion

Return type

Optional[str]

attr_arn

Arn

Type

cloudformationAttribute

Return type

str

attr_logging_configuration_dag_processing_logs_cloud_watch_log_group_arn

LoggingConfiguration.DagProcessingLogs.CloudWatchLogGroupArn

Type

cloudformationAttribute

Return type

str

attr_logging_configuration_scheduler_logs_cloud_watch_log_group_arn

LoggingConfiguration.SchedulerLogs.CloudWatchLogGroupArn

Type

cloudformationAttribute

Return type

str

attr_logging_configuration_task_logs_cloud_watch_log_group_arn

LoggingConfiguration.TaskLogs.CloudWatchLogGroupArn

Type

cloudformationAttribute

Return type

str

attr_logging_configuration_webserver_logs_cloud_watch_log_group_arn

LoggingConfiguration.WebserverLogs.CloudWatchLogGroupArn

Type

cloudformationAttribute

Return type

str

attr_logging_configuration_worker_logs_cloud_watch_log_group_arn

LoggingConfiguration.WorkerLogs.CloudWatchLogGroupArn

Type

cloudformationAttribute

Return type

str

attr_webserver_url

WebserverUrl

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

dag_s3_path

AWS::MWAA::Environment.DagS3Path.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-dags3path

Return type

Optional[str]

environment_class

AWS::MWAA::Environment.EnvironmentClass.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-environmentclass

Return type

Optional[str]

execution_role_arn

AWS::MWAA::Environment.ExecutionRoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-executionrolearn

Return type

Optional[str]

kms_key

AWS::MWAA::Environment.KmsKey.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-kmskey

Return type

Optional[str]

logging_configuration

AWS::MWAA::Environment.LoggingConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-loggingconfiguration

Return type

Union[IResolvable, LoggingConfigurationProperty, None]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

max_workers

AWS::MWAA::Environment.MaxWorkers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-maxworkers

Return type

Union[int, float, None]

min_workers

AWS::MWAA::Environment.MinWorkers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-minworkers

Return type

Union[int, float, None]

name

AWS::MWAA::Environment.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-name

Return type

str

network_configuration

AWS::MWAA::Environment.NetworkConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-networkconfiguration

Return type

Union[IResolvable, NetworkConfigurationProperty, None]

node

The construct tree node associated with this construct.

Return type

ConstructNode

plugins_s3_object_version

AWS::MWAA::Environment.PluginsS3ObjectVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-pluginss3objectversion

Return type

Optional[str]

plugins_s3_path

AWS::MWAA::Environment.PluginsS3Path.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-pluginss3path

Return type

Optional[str]

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

requirements_s3_object_version

AWS::MWAA::Environment.RequirementsS3ObjectVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-requirementss3objectversion

Return type

Optional[str]

requirements_s3_path

AWS::MWAA::Environment.RequirementsS3Path.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-requirementss3path

Return type

Optional[str]

schedulers

AWS::MWAA::Environment.Schedulers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-schedulers

Return type

Union[int, float, None]

source_bucket_arn

AWS::MWAA::Environment.SourceBucketArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-sourcebucketarn

Return type

Optional[str]

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

tags

AWS::MWAA::Environment.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-tags

Return type

TagManager

webserver_access_mode

AWS::MWAA::Environment.WebserverAccessMode.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-webserveraccessmode

Return type

Optional[str]

weekly_maintenance_window_start

AWS::MWAA::Environment.WeeklyMaintenanceWindowStart.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-weeklymaintenancewindowstart

Return type

Optional[str]

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

LoggingConfigurationProperty

class CfnEnvironment.LoggingConfigurationProperty(*, dag_processing_logs=None, scheduler_logs=None, task_logs=None, webserver_logs=None, worker_logs=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mwaa as mwaa

logging_configuration_property = mwaa.CfnEnvironment.LoggingConfigurationProperty(
    dag_processing_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
        cloud_watch_log_group_arn="cloudWatchLogGroupArn",
        enabled=False,
        log_level="logLevel"
    ),
    scheduler_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
        cloud_watch_log_group_arn="cloudWatchLogGroupArn",
        enabled=False,
        log_level="logLevel"
    ),
    task_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
        cloud_watch_log_group_arn="cloudWatchLogGroupArn",
        enabled=False,
        log_level="logLevel"
    ),
    webserver_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
        cloud_watch_log_group_arn="cloudWatchLogGroupArn",
        enabled=False,
        log_level="logLevel"
    ),
    worker_logs=mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
        cloud_watch_log_group_arn="cloudWatchLogGroupArn",
        enabled=False,
        log_level="logLevel"
    )
)

Attributes

dag_processing_logs

CfnEnvironment.LoggingConfigurationProperty.DagProcessingLogs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-dagprocessinglogs

Return type

Union[IResolvable, ModuleLoggingConfigurationProperty, None]

scheduler_logs

CfnEnvironment.LoggingConfigurationProperty.SchedulerLogs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-schedulerlogs

Return type

Union[IResolvable, ModuleLoggingConfigurationProperty, None]

task_logs

CfnEnvironment.LoggingConfigurationProperty.TaskLogs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-tasklogs

Return type

Union[IResolvable, ModuleLoggingConfigurationProperty, None]

webserver_logs

CfnEnvironment.LoggingConfigurationProperty.WebserverLogs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-webserverlogs

Return type

Union[IResolvable, ModuleLoggingConfigurationProperty, None]

worker_logs

CfnEnvironment.LoggingConfigurationProperty.WorkerLogs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-workerlogs

Return type

Union[IResolvable, ModuleLoggingConfigurationProperty, None]

ModuleLoggingConfigurationProperty

class CfnEnvironment.ModuleLoggingConfigurationProperty(*, cloud_watch_log_group_arn=None, enabled=None, log_level=None)

Bases: object

Parameters
  • cloud_watch_log_group_arn (Optional[str]) – CfnEnvironment.ModuleLoggingConfigurationProperty.CloudWatchLogGroupArn.

  • enabled (Union[bool, IResolvable, None]) – CfnEnvironment.ModuleLoggingConfigurationProperty.Enabled.

  • log_level (Optional[str]) – CfnEnvironment.ModuleLoggingConfigurationProperty.LogLevel.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mwaa as mwaa

module_logging_configuration_property = mwaa.CfnEnvironment.ModuleLoggingConfigurationProperty(
    cloud_watch_log_group_arn="cloudWatchLogGroupArn",
    enabled=False,
    log_level="logLevel"
)

Attributes

cloud_watch_log_group_arn

CfnEnvironment.ModuleLoggingConfigurationProperty.CloudWatchLogGroupArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-cloudwatchloggrouparn

Return type

Optional[str]

enabled

CfnEnvironment.ModuleLoggingConfigurationProperty.Enabled.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-enabled

Return type

Union[bool, IResolvable, None]

log_level

CfnEnvironment.ModuleLoggingConfigurationProperty.LogLevel.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-loglevel

Return type

Optional[str]

NetworkConfigurationProperty

class CfnEnvironment.NetworkConfigurationProperty(*, security_group_ids=None, subnet_ids=None)

Bases: object

Parameters
  • security_group_ids (Optional[Sequence[str]]) – CfnEnvironment.NetworkConfigurationProperty.SecurityGroupIds.

  • subnet_ids (Optional[Sequence[str]]) – CfnEnvironment.NetworkConfigurationProperty.SubnetIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mwaa as mwaa

network_configuration_property = mwaa.CfnEnvironment.NetworkConfigurationProperty(
    security_group_ids=["securityGroupIds"],
    subnet_ids=["subnetIds"]
)

Attributes

security_group_ids

CfnEnvironment.NetworkConfigurationProperty.SecurityGroupIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html#cfn-mwaa-environment-networkconfiguration-securitygroupids

Return type

Optional[List[str]]

subnet_ids

CfnEnvironment.NetworkConfigurationProperty.SubnetIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html#cfn-mwaa-environment-networkconfiguration-subnetids

Return type

Optional[List[str]]