Interface CfnViewProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnViewProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:50.305Z")
@Stability(Stable)
public interface CfnViewProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnView.
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.cloudwatch.*;
CfnViewProps cfnViewProps = CfnViewProps.builder()
.definition("definition")
// the properties below are optional
.description("description")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnViewPropsstatic final classAn implementation forCfnViewProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
The SQL query that defines the view.- See Also:
-
getDescription
A description of the view.- See Also:
-
getName
The name of the view.Must begin with the "view." prefix followed by lowercase alphanumeric characters, hyphens, and underscores. View names must be unique within the account and region. If not specified, a name is generated.
- See Also:
-
getTags
An array of key-value pairs to apply to the view.- See Also:
-
builder
- Returns:
- a
CfnViewProps.BuilderofCfnViewProps
-