Class CfnViewProps
Properties for defining a CfnView
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnViewProps : Object, ICfnViewProps
Syntax (vb)
Public Class CfnViewProps
Inherits Object
Implements ICfnViewProps
Remarks
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 cfnViewProps = 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
CfnViewProps() |
Properties
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 key and value pairs that are attached to the view. |
ViewName | The name of the new view. |
Constructors
CfnViewProps()
public CfnViewProps()
Properties
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 object Filters { get; set; }
Property Value
System.Object
Remarks
When you use this view in a Search operation, the filter string is combined with the search's QueryString
parameter using a logical AND
operator.
For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .
This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod
includes all Amazon EC2 resources in any AWS Region that begin with the letters us
and are not tagged with a key Stage
that has the value prod
.
IncludedProperties
A list of fields that provide additional information about the view.
public object IncludedProperties { get; set; }
Property Value
System.Object
Remarks
Scope
The root ARN of the account, an organizational unit (OU), or an organization ARN.
public string Scope { get; set; }
Property Value
System.String
Remarks
If left empty, the default is account.
Tags
Tag key and value pairs that are attached to the view.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
ViewName
The name of the new view.
public string ViewName { get; set; }
Property Value
System.String