Class CfnApplication
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.CfnApplication
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.308Z")
@Stability(Stable)
public class CfnApplication
extends CfnResource
implements IInspectable, ITaggable
This resource creates an application.
Applications store the details about how to launch applications on streaming instances. This is only supported for Elastic fleets.
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.appstream.*; CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication") .appBlockArn("appBlockArn") .iconS3Location(S3LocationProperty.builder() .s3Bucket("s3Bucket") .s3Key("s3Key") .build()) .instanceFamilies(List.of("instanceFamilies")) .launchPath("launchPath") .name("name") .platforms(List.of("platforms")) // the properties below are optional .attributesToDelete(List.of("attributesToDelete")) .description("description") .displayName("displayName") .launchParameters("launchParameters") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .workingDirectory("workingDirectory") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnApplication
.static interface
The S3 location of the application icon.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
CfnApplication
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnApplication
(software.amazon.jsii.JsiiObjectRef objRef) CfnApplication
(software.constructs.Construct scope, String id, CfnApplicationProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe app block ARN with which the application should be associated.The ARN of the application.The time when the application was created.A list of attributes to delete from an application.The description of the application.The display name of the application.The icon S3 location of the application.The instance families the application supports.The launch parameters of the application.The launch path of the application.getName()
The name of the application.The platforms the application supports.getTags()
Tag Manager which manages the tags for this resource.The tags of the application.The working directory of the application.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAppBlockArn
(String value) The app block ARN with which the application should be associated.void
setAttributesToDelete
(List<String> value) A list of attributes to delete from an application.void
setDescription
(String value) The description of the application.void
setDisplayName
(String value) The display name of the application.void
setIconS3Location
(IResolvable value) The icon S3 location of the application.void
The icon S3 location of the application.void
setInstanceFamilies
(List<String> value) The instance families the application supports.void
setLaunchParameters
(String value) The launch parameters of the application.void
setLaunchPath
(String value) The launch path of the application.void
The name of the application.void
setPlatforms
(List<String> value) The platforms the application supports.void
setTagsRaw
(List<CfnTag> value) The tags of the application.void
setWorkingDirectory
(String value) The working directory of the application.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
-
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplication
@Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationProps 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.
-
getAttrArn
The ARN of the application. -
getAttrCreatedTime
The time when the application was created. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAppBlockArn
The app block ARN with which the application should be associated. -
setAppBlockArn
The app block ARN with which the application should be associated. -
getIconS3Location
The icon S3 location of the application. -
setIconS3Location
The icon S3 location of the application. -
setIconS3Location
The icon S3 location of the application. -
getInstanceFamilies
The instance families the application supports. -
setInstanceFamilies
The instance families the application supports. -
getLaunchPath
The launch path of the application. -
setLaunchPath
The launch path of the application. -
getName
The name of the application. -
setName
The name of the application. -
getPlatforms
The platforms the application supports. -
setPlatforms
The platforms the application supports. -
getAttributesToDelete
A list of attributes to delete from an application. -
setAttributesToDelete
A list of attributes to delete from an application. -
getDescription
The description of the application. -
setDescription
The description of the application. -
getDisplayName
The display name of the application. -
setDisplayName
The display name of the application. -
getLaunchParameters
The launch parameters of the application. -
setLaunchParameters
The launch parameters of the application. -
getTagsRaw
The tags of the application. -
setTagsRaw
The tags of the application. -
getWorkingDirectory
The working directory of the application. -
setWorkingDirectory
The working directory of the application.
-