Class CfnViewVersion
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.connect.CfnViewVersion
- All Implemented Interfaces:
IInspectable,IViewVersionRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:17.722Z")
@Stability(Stable)
public class CfnViewVersion
extends CfnResource
implements IInspectable, IViewVersionRef
Creates a version for the specified customer-managed view within the specified instance.
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.connect.*;
CfnViewVersion cfnViewVersion = CfnViewVersion.Builder.create(this, "MyCfnViewVersion")
.viewArn("viewArn")
// the properties below are optional
.versionDescription("versionDescription")
.viewContentSha256("viewContentSha256")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.IViewVersionRef
IViewVersionRef.Jsii$Default, IViewVersionRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnViewVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnViewVersion(software.amazon.jsii.JsiiObjectRef objRef) CfnViewVersion(software.constructs.Construct scope, String id, CfnViewVersionProps props) Create a newAWS::Connect::ViewVersion. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForViewVersion(IViewVersionRef resource) Current version of the view.The Amazon Resource Name (ARN) of the view version.The description of the view version.The unqualified Amazon Resource Name (ARN) of the view.Indicates the checksum value of the latest published view content.A reference to a ViewVersion resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnViewVersion.renderProperties(Map<String, Object> props) voidsetVersionDescription(String value) The description of the view version.voidsetViewArn(String value) The unqualified Amazon Resource Name (ARN) of the view.voidsetViewContentSha256(String value) Indicates the checksum value of the latest published view content.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnViewVersion
protected CfnViewVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnViewVersion
protected CfnViewVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnViewVersion
@Stability(Stable) public CfnViewVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnViewVersionProps props) Create a newAWS::Connect::ViewVersion.- 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
-
arnForViewVersion
@Stability(Stable) @NotNull public static String arnForViewVersion(@NotNull IViewVersionRef resource) - Parameters:
resource- This parameter is required.
-
isCfnViewVersion
Checks whether the given object is a CfnViewVersion.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrVersion
Current version of the view. -
getAttrViewVersionArn
The Amazon Resource Name (ARN) of the view version. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getViewVersionRef
A reference to a ViewVersion resource.- Specified by:
getViewVersionRefin interfaceIViewVersionRef
-
getViewArn
The unqualified Amazon Resource Name (ARN) of the view. -
setViewArn
The unqualified Amazon Resource Name (ARN) of the view. -
getVersionDescription
The description of the view version. -
setVersionDescription
The description of the view version. -
getViewContentSha256
Indicates the checksum value of the latest published view content. -
setViewContentSha256
Indicates the checksum value of the latest published view content.
-