Class CfnView
Creates a customer-managed view in the published state within the specified instance.
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnView : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnView
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-view.html
CloudformationResource: AWS::Connect::View
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var template;
var cfnView = new CfnView(this, "MyCfnView", new CfnViewProps {
Actions = new [] { "actions" },
InstanceArn = "instanceArn",
Name = "name",
Template = template,
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnView(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnView(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnView(Construct, String, ICfnViewProps) |
Properties
Actions | A list of actions possible from the view. |
AttrViewArn | The unqualified Amazon Resource Name (ARN) of the view. |
AttrViewContentSha256 | Indicates the checksum value of the latest published view content. |
AttrViewId | The identifier of the view. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the view. |
InstanceArn | The Amazon Resource Name (ARN) of the instance. |
Name | The name of the view. |
Tags | The tags associated with the view resource (not specific to view version). |
Template | The view template representing the structure of the view. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnView(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnView(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnView(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnView(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnView(Construct, String, ICfnViewProps)
public CfnView(Construct scope, string id, ICfnViewProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnViewProps
Resource properties.
Properties
Actions
A list of actions possible from the view.
public virtual string[] Actions { get; set; }
Property Value
System.String[]
AttrViewArn
The unqualified Amazon Resource Name (ARN) of the view.
public virtual string AttrViewArn { get; }
Property Value
System.String
Remarks
For example:
arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000
CloudformationAttribute: ViewArn
AttrViewContentSha256
Indicates the checksum value of the latest published view content.
public virtual string AttrViewContentSha256 { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ViewContentSha256
AttrViewId
The identifier of the view.
public virtual string AttrViewId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ViewId
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the view.
public virtual string Description { get; set; }
Property Value
System.String
InstanceArn
The Amazon Resource Name (ARN) of the instance.
public virtual string InstanceArn { get; set; }
Property Value
System.String
Name
The name of the view.
public virtual string Name { get; set; }
Property Value
System.String
Tags
The tags associated with the view resource (not specific to view version).
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Template
The view template representing the structure of the view.
public virtual object Template { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>