Class CfnViewVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:49.609Z") @Stability(Stable) public class CfnViewVersion extends CfnResource implements IInspectable
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrVersion

      @Stability(Stable) @NotNull public Number getAttrVersion()
      Current version of the view.
    • getAttrViewVersionArn

      @Stability(Stable) @NotNull public String getAttrViewVersionArn()
      The Amazon Resource Name (ARN) of the view version.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getViewArn

      @Stability(Stable) @NotNull public String getViewArn()
      The unqualified Amazon Resource Name (ARN) of the view.
    • setViewArn

      @Stability(Stable) public void setViewArn(@NotNull String value)
      The unqualified Amazon Resource Name (ARN) of the view.
    • getVersionDescription

      @Stability(Stable) @Nullable public String getVersionDescription()
      The description of the view version.
    • setVersionDescription

      @Stability(Stable) public void setVersionDescription(@Nullable String value)
      The description of the view version.
    • getViewContentSha256

      @Stability(Stable) @Nullable public String getViewContentSha256()
      Indicates the checksum value of the latest published view content.
    • setViewContentSha256

      @Stability(Stable) public void setViewContentSha256(@Nullable String value)
      Indicates the checksum value of the latest published view content.