Class CfnView
Creates a view that users can query by using the Search operation. Results from queries that you make using this view include only resources that match the view's Filters
.
Inherited Members
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnView : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnView
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::ResourceExplorer2::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.ResourceExplorer2;
var cfnView = new CfnView(this, "MyCfnView", new CfnViewProps {
ViewName = "viewName",
// the properties below are optional
Filters = new FiltersProperty {
FilterString = "filterString"
},
IncludedProperties = new [] { new IncludedPropertyProperty {
Name = "name"
} },
Scope = "scope",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
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
AttrViewArn | The ARN of the new view. For example:. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Filters | An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. |
IncludedProperties | A list of fields that provide additional information about the view. |
Scope | The root ARN of the account, an organizational unit (OU), or an organization ARN. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Tag key and value pairs that are attached to the view. |
ViewName | The name of the new 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
AttrViewArn
The ARN of the new view. For example:.
public virtual string AttrViewArn { get; }
Property Value
System.String
Remarks
arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222
CloudformationAttribute: ViewArn
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
Filters
An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.
public virtual object Filters { get; set; }
Property Value
System.Object
IncludedProperties
A list of fields that provide additional information about the view.
public virtual object IncludedProperties { get; set; }
Property Value
System.Object
Scope
The root ARN of the account, an organizational unit (OU), or an organization ARN.
public virtual string Scope { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Tag key and value pairs that are attached to the view.
public virtual IDictionary<string, string> TagsRaw { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
ViewName
The name of the new view.
public virtual string ViewName { get; set; }
Property Value
System.String
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>