Interface CfnEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.097Z")
@Stability(Stable)
public interface CfnEnvironmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEnvironment.
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.workspacesthinclient.*;
CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
.desktopArn("desktopArn")
// the properties below are optional
.desiredSoftwareSetId("desiredSoftwareSetId")
.desktopEndpoint("desktopEndpoint")
.deviceCreationTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.kmsKeyArn("kmsKeyArn")
.maintenanceWindow(MaintenanceWindowProperty.builder()
.type("type")
// the properties below are optional
.applyTimeOf("applyTimeOf")
.daysOfTheWeek(List.of("daysOfTheWeek"))
.endTimeHour(123)
.endTimeMinute(123)
.startTimeHour(123)
.startTimeMinute(123)
.build())
.name("name")
.softwareSetUpdateMode("softwareSetUpdateMode")
.softwareSetUpdateSchedule("softwareSetUpdateSchedule")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEnvironmentPropsstatic final classAn implementation forCfnEnvironmentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEnvironmentProps.Builderbuilder()default StringThe ID of the software set to apply.The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.default StringThe URL for the identity provider login (only for environments that use AppStream 2.0).default ObjectAn array of key-value pairs to apply to the newly created devices for this environment.default StringThe Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.default ObjectA specification for a time window to apply software updates.default StringgetName()The name of the environment.default StringAn option to define which software updates to apply.default StringAn option to define if software updates should be applied within a maintenance window.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDesktopArn
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.- See Also:
-
getDesiredSoftwareSetId
The ID of the software set to apply.- See Also:
-
getDesktopEndpoint
The URL for the identity provider login (only for environments that use AppStream 2.0).- See Also:
-
getDeviceCreationTags
An array of key-value pairs to apply to the newly created devices for this environment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- See Also:
-
getKmsKeyArn
The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.- See Also:
-
getMaintenanceWindow
A specification for a time window to apply software updates.Returns union: either
IResolvableorCfnEnvironment.MaintenanceWindowProperty- See Also:
-
getName
The name of the environment.- See Also:
-
getSoftwareSetUpdateMode
An option to define which software updates to apply.- See Also:
-
getSoftwareSetUpdateSchedule
An option to define if software updates should be applied within a maintenance window.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnEnvironmentProps.BuilderofCfnEnvironmentProps
-