Class CfnFleet
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appstream.CfnFleet
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:38.772Z")
@Stability(Stable)
public class CfnFleet
extends CfnResource
implements IInspectable, ITaggable
The
AWS::AppStream::Fleet
resource creates a fleet for Amazon AppStream 2.0. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.
Example:
CfnFleet fleet = CfnFleet.Builder.create(this, "Fleet") .instanceType("stream.standard.small") .name("Fleet") .computeCapacity(ComputeCapacityProperty.builder() .desiredInstances(1) .build()) .imageName("AppStream-AmazonLinux2-09-21-2022") .build(); fleet.getCfnOptions().getCreationPolicy() = CfnCreationPolicy.builder() .startFleet(true) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnFleet
.static interface
The desired capacity for a fleet.static interface
The name of the directory and organizational unit (OU) to use to join a fleet to a Microsoft Active Directory domain.static interface
Describes the S3 location.static interface
The VPC configuration information for the fleet.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnFleet
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFleet
(software.amazon.jsii.JsiiObjectRef objRef) CfnFleet
(software.constructs.Construct scope, String id, CfnFleetProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe desired capacity for the fleet.The description to display.The amount of time that a streaming session remains active after users disconnect.The fleet name to display.The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.Enables or disables default internet access for the fleet.The fleet type.The ARN of the IAM role that is applied to the fleet.The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and theDisconnectTimeoutInSeconds
time interval begins.The ARN of the public, private, or shared image to use.The name of the image used to create the fleet.The instance type to use when launching fleet instances.The maximum number of concurrent sessions that can be run on an Elastic fleet.Max number of user sessions on an instance.The maximum amount of time that a streaming session can remain active, in seconds.getName()
A unique name for the fleet.The platform of the fleet.The S3 location of the session scripts configuration zip file.The AppStream 2.0 view that is displayed to your users when they stream from the fleet.getTags()
Tag Manager which manages the tags for this resource.An array of key-value pairs.The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client.The VPC configuration for the fleet.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setComputeCapacity
(IResolvable value) The desired capacity for the fleet.void
The desired capacity for the fleet.void
setDescription
(String value) The description to display.void
The amount of time that a streaming session remains active after users disconnect.void
setDisplayName
(String value) The fleet name to display.void
setDomainJoinInfo
(IResolvable value) The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.void
The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.void
Enables or disables default internet access for the fleet.void
Enables or disables default internet access for the fleet.void
setFleetType
(String value) The fleet type.void
setIamRoleArn
(String value) The ARN of the IAM role that is applied to the fleet.void
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and theDisconnectTimeoutInSeconds
time interval begins.void
setImageArn
(String value) The ARN of the public, private, or shared image to use.void
setImageName
(String value) The name of the image used to create the fleet.void
setInstanceType
(String value) The instance type to use when launching fleet instances.void
setMaxConcurrentSessions
(Number value) The maximum number of concurrent sessions that can be run on an Elastic fleet.void
setMaxSessionsPerInstance
(Number value) Max number of user sessions on an instance.void
The maximum amount of time that a streaming session can remain active, in seconds.void
A unique name for the fleet.void
setPlatform
(String value) The platform of the fleet.void
The S3 location of the session scripts configuration zip file.void
The S3 location of the session scripts configuration zip file.void
setStreamView
(String value) The AppStream 2.0 view that is displayed to your users when they stream from the fleet.void
setTagsRaw
(List<CfnTag> value) An array of key-value pairs.void
setUsbDeviceFilterStrings
(List<String> value) The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client.void
setVpcConfig
(IResolvable value) The VPC configuration for the fleet.void
The VPC configuration for the fleet.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFleet
@Stability(Stable) public CfnFleet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFleetProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getInstanceType
The instance type to use when launching fleet instances.The following instance types are available for non-Elastic fleets:.
-
setInstanceType
The instance type to use when launching fleet instances.The following instance types are available for non-Elastic fleets:.
-
getName
A unique name for the fleet. -
setName
A unique name for the fleet. -
getComputeCapacity
The desired capacity for the fleet. -
setComputeCapacity
The desired capacity for the fleet. -
setComputeCapacity
The desired capacity for the fleet. -
getDescription
The description to display. -
setDescription
The description to display. -
getDisconnectTimeoutInSeconds
The amount of time that a streaming session remains active after users disconnect. -
setDisconnectTimeoutInSeconds
The amount of time that a streaming session remains active after users disconnect. -
getDisplayName
The fleet name to display. -
setDisplayName
The fleet name to display. -
getDomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. -
setDomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. -
setDomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. -
getEnableDefaultInternetAccess
Enables or disables default internet access for the fleet. -
setEnableDefaultInternetAccess
Enables or disables default internet access for the fleet. -
setEnableDefaultInternetAccess
Enables or disables default internet access for the fleet. -
getFleetType
The fleet type. -
setFleetType
The fleet type. -
getIamRoleArn
The ARN of the IAM role that is applied to the fleet. -
setIamRoleArn
The ARN of the IAM role that is applied to the fleet. -
getIdleDisconnectTimeoutInSeconds
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and theDisconnectTimeoutInSeconds
time interval begins. -
setIdleDisconnectTimeoutInSeconds
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and theDisconnectTimeoutInSeconds
time interval begins. -
getImageArn
The ARN of the public, private, or shared image to use. -
setImageArn
The ARN of the public, private, or shared image to use. -
getImageName
The name of the image used to create the fleet. -
setImageName
The name of the image used to create the fleet. -
getMaxConcurrentSessions
The maximum number of concurrent sessions that can be run on an Elastic fleet. -
setMaxConcurrentSessions
The maximum number of concurrent sessions that can be run on an Elastic fleet. -
getMaxSessionsPerInstance
Max number of user sessions on an instance. -
setMaxSessionsPerInstance
Max number of user sessions on an instance. -
getMaxUserDurationInSeconds
The maximum amount of time that a streaming session can remain active, in seconds. -
setMaxUserDurationInSeconds
The maximum amount of time that a streaming session can remain active, in seconds. -
getPlatform
The platform of the fleet. -
setPlatform
The platform of the fleet. -
getSessionScriptS3Location
The S3 location of the session scripts configuration zip file. -
setSessionScriptS3Location
The S3 location of the session scripts configuration zip file. -
setSessionScriptS3Location
@Stability(Stable) public void setSessionScriptS3Location(@Nullable CfnFleet.S3LocationProperty value) The S3 location of the session scripts configuration zip file. -
getStreamView
The AppStream 2.0 view that is displayed to your users when they stream from the fleet. WhenAPP
is specified, only the windows of applications opened by users display. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. -
setStreamView
The AppStream 2.0 view that is displayed to your users when they stream from the fleet. WhenAPP
is specified, only the windows of applications opened by users display. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. -
getTagsRaw
An array of key-value pairs. -
setTagsRaw
An array of key-value pairs. -
getUsbDeviceFilterStrings
The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. -
setUsbDeviceFilterStrings
The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. -
getVpcConfig
The VPC configuration for the fleet. -
setVpcConfig
The VPC configuration for the fleet. -
setVpcConfig
The VPC configuration for the fleet.
-