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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:41.114Z") @Stability(Stable) public class CfnView extends CfnResource implements IInspectable, ITaggableV2
Creates a customer-managed view in the published state 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.*;
 Object template;
 CfnView cfnView = CfnView.Builder.create(this, "MyCfnView")
         .actions(List.of("actions"))
         .instanceArn("instanceArn")
         .name("name")
         .template(template)
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .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

    • CfnView

      protected CfnView(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnView

      protected CfnView(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnView

      @Stability(Stable) public CfnView(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnViewProps 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.
    • getAttrViewArn

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

      For example:

      arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000

    • getAttrViewContentSha256

      @Stability(Stable) @NotNull public String getAttrViewContentSha256()
      Indicates the checksum value of the latest published view content.
    • getAttrViewId

      @Stability(Stable) @NotNull public String getAttrViewId()
      The identifier of the view.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public List<String> getActions()
      A list of actions possible from the view.
    • setActions

      @Stability(Stable) public void setActions(@NotNull List<String> value)
      A list of actions possible from the view.
    • getInstanceArn

      @Stability(Stable) @NotNull public String getInstanceArn()
      The Amazon Resource Name (ARN) of the instance.
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the instance.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the view.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the view.
    • getTemplate

      @Stability(Stable) @NotNull public Object getTemplate()
      The view template representing the structure of the view.
    • setTemplate

      @Stability(Stable) public void setTemplate(@NotNull Object value)
      The view template representing the structure of the view.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the view.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the view.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags associated with the view resource (not specific to view version).
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags associated with the view resource (not specific to view version).