@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.023Z") @Stability(value=Stable) public class CfnApplication extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnApplication.Builder
A fluent builder for
CfnApplication. |
static interface |
CfnApplication.S3LocationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApplication(software.constructs.Construct scope,
String id,
CfnApplicationProps props)
Create a new `AWS::AppStream::Application`.
|
protected |
CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppBlockArn()
`AWS::AppStream::Application.AppBlockArn`.
|
String |
getAttrArn() |
String |
getAttrCreatedTime() |
List<String> |
getAttributesToDelete()
`AWS::AppStream::Application.AttributesToDelete`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::AppStream::Application.Description`.
|
String |
getDisplayName()
`AWS::AppStream::Application.DisplayName`.
|
Object |
getIconS3Location()
`AWS::AppStream::Application.IconS3Location`.
|
List<String> |
getInstanceFamilies()
`AWS::AppStream::Application.InstanceFamilies`.
|
String |
getLaunchParameters()
`AWS::AppStream::Application.LaunchParameters`.
|
String |
getLaunchPath()
`AWS::AppStream::Application.LaunchPath`.
|
String |
getName()
`AWS::AppStream::Application.Name`.
|
List<String> |
getPlatforms()
`AWS::AppStream::Application.Platforms`.
|
TagManager |
getTags()
`AWS::AppStream::Application.Tags`.
|
String |
getWorkingDirectory()
`AWS::AppStream::Application.WorkingDirectory`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAppBlockArn(String value)
`AWS::AppStream::Application.AppBlockArn`.
|
void |
setAttributesToDelete(List<String> value)
`AWS::AppStream::Application.AttributesToDelete`.
|
void |
setDescription(String value)
`AWS::AppStream::Application.Description`.
|
void |
setDisplayName(String value)
`AWS::AppStream::Application.DisplayName`.
|
void |
setIconS3Location(CfnApplication.S3LocationProperty value)
`AWS::AppStream::Application.IconS3Location`.
|
void |
setIconS3Location(IResolvable value)
`AWS::AppStream::Application.IconS3Location`.
|
void |
setInstanceFamilies(List<String> value)
`AWS::AppStream::Application.InstanceFamilies`.
|
void |
setLaunchParameters(String value)
`AWS::AppStream::Application.LaunchParameters`.
|
void |
setLaunchPath(String value)
`AWS::AppStream::Application.LaunchPath`.
|
void |
setName(String value)
`AWS::AppStream::Application.Name`.
|
void |
setPlatforms(List<String> value)
`AWS::AppStream::Application.Platforms`.
|
void |
setWorkingDirectory(String value)
`AWS::AppStream::Application.WorkingDirectory`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplication(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnApplicationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAppBlockArn()
@Stability(value=Stable)
public void setAppBlockArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @Nullable public List<String> getAttributesToDelete()
@Stability(value=Stable)
public void setAttributesToDelete(@Nullable
List<String> value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDisplayName()
@Stability(value=Stable)
public void setDisplayName(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getIconS3Location()
@Stability(value=Stable)
public void setIconS3Location(@NotNull
CfnApplication.S3LocationProperty value)
@Stability(value=Stable)
public void setIconS3Location(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public List<String> getInstanceFamilies()
@Stability(value=Stable)
public void setInstanceFamilies(@NotNull
List<String> value)
@Stability(value=Stable) @Nullable public String getLaunchParameters()
@Stability(value=Stable)
public void setLaunchParameters(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getLaunchPath()
@Stability(value=Stable)
public void setLaunchPath(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public List<String> getPlatforms()
@Stability(value=Stable)
public void setPlatforms(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getWorkingDirectory()
@Stability(value=Stable)
public void setWorkingDirectory(@Nullable
String value)
Copyright © 2021. All rights reserved.