@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.611Z") @Stability(value=Stable) public interface CfnEnvironmentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mwaa.*;
Object airflowConfigurationOptions;
Object tags;
CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
.name("name")
// the properties below are optional
.airflowConfigurationOptions(airflowConfigurationOptions)
.airflowVersion("airflowVersion")
.dagS3Path("dagS3Path")
.environmentClass("environmentClass")
.executionRoleArn("executionRoleArn")
.kmsKey("kmsKey")
.loggingConfiguration(LoggingConfigurationProperty.builder()
.dagProcessingLogs(ModuleLoggingConfigurationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.enabled(false)
.logLevel("logLevel")
.build())
.schedulerLogs(ModuleLoggingConfigurationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.enabled(false)
.logLevel("logLevel")
.build())
.taskLogs(ModuleLoggingConfigurationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.enabled(false)
.logLevel("logLevel")
.build())
.webserverLogs(ModuleLoggingConfigurationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.enabled(false)
.logLevel("logLevel")
.build())
.workerLogs(ModuleLoggingConfigurationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.enabled(false)
.logLevel("logLevel")
.build())
.build())
.maxWorkers(123)
.minWorkers(123)
.networkConfiguration(NetworkConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.pluginsS3ObjectVersion("pluginsS3ObjectVersion")
.pluginsS3Path("pluginsS3Path")
.requirementsS3ObjectVersion("requirementsS3ObjectVersion")
.requirementsS3Path("requirementsS3Path")
.schedulers(123)
.sourceBucketArn("sourceBucketArn")
.tags(tags)
.webserverAccessMode("webserverAccessMode")
.weeklyMaintenanceWindowStart("weeklyMaintenanceWindowStart")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEnvironmentProps.Builder
A builder for
CfnEnvironmentProps |
static class |
CfnEnvironmentProps.Jsii$Proxy
An implementation for
CfnEnvironmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEnvironmentProps.Builder |
builder() |
default Object |
getAirflowConfigurationOptions()
`AWS::MWAA::Environment.AirflowConfigurationOptions`.
|
default String |
getAirflowVersion()
`AWS::MWAA::Environment.AirflowVersion`.
|
default String |
getDagS3Path()
`AWS::MWAA::Environment.DagS3Path`.
|
default String |
getEnvironmentClass()
`AWS::MWAA::Environment.EnvironmentClass`.
|
default String |
getExecutionRoleArn()
`AWS::MWAA::Environment.ExecutionRoleArn`.
|
default String |
getKmsKey()
`AWS::MWAA::Environment.KmsKey`.
|
default Object |
getLoggingConfiguration()
`AWS::MWAA::Environment.LoggingConfiguration`.
|
default Number |
getMaxWorkers()
`AWS::MWAA::Environment.MaxWorkers`.
|
default Number |
getMinWorkers()
`AWS::MWAA::Environment.MinWorkers`.
|
String |
getName()
`AWS::MWAA::Environment.Name`.
|
default Object |
getNetworkConfiguration()
`AWS::MWAA::Environment.NetworkConfiguration`.
|
default String |
getPluginsS3ObjectVersion()
`AWS::MWAA::Environment.PluginsS3ObjectVersion`.
|
default String |
getPluginsS3Path()
`AWS::MWAA::Environment.PluginsS3Path`.
|
default String |
getRequirementsS3ObjectVersion()
`AWS::MWAA::Environment.RequirementsS3ObjectVersion`.
|
default String |
getRequirementsS3Path()
`AWS::MWAA::Environment.RequirementsS3Path`.
|
default Number |
getSchedulers()
`AWS::MWAA::Environment.Schedulers`.
|
default String |
getSourceBucketArn()
`AWS::MWAA::Environment.SourceBucketArn`.
|
default Object |
getTags()
`AWS::MWAA::Environment.Tags`.
|
default String |
getWebserverAccessMode()
`AWS::MWAA::Environment.WebserverAccessMode`.
|
default String |
getWeeklyMaintenanceWindowStart()
`AWS::MWAA::Environment.WeeklyMaintenanceWindowStart`.
|
@Stability(value=Stable) @Nullable default Object getAirflowConfigurationOptions()
@Stability(value=Stable) @Nullable default String getAirflowVersion()
@Stability(value=Stable) @Nullable default String getDagS3Path()
@Stability(value=Stable) @Nullable default String getEnvironmentClass()
@Stability(value=Stable) @Nullable default String getExecutionRoleArn()
@Stability(value=Stable) @Nullable default String getKmsKey()
@Stability(value=Stable) @Nullable default Object getLoggingConfiguration()
@Stability(value=Stable) @Nullable default Number getMaxWorkers()
@Stability(value=Stable) @Nullable default Number getMinWorkers()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getNetworkConfiguration()
@Stability(value=Stable) @Nullable default String getPluginsS3ObjectVersion()
@Stability(value=Stable) @Nullable default String getPluginsS3Path()
@Stability(value=Stable) @Nullable default String getRequirementsS3ObjectVersion()
@Stability(value=Stable) @Nullable default String getRequirementsS3Path()
@Stability(value=Stable) @Nullable default Number getSchedulers()
@Stability(value=Stable) @Nullable default String getSourceBucketArn()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) @Nullable default String getWebserverAccessMode()
@Stability(value=Stable) @Nullable default String getWeeklyMaintenanceWindowStart()
@Stability(value=Stable) static CfnEnvironmentProps.Builder builder()
CfnEnvironmentProps.Builder of CfnEnvironmentPropsCopyright © 2021. All rights reserved.