Interface CfnAnomalyDetector.RedshiftSourceConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnomalyDetector.RedshiftSourceConfigProperty.Jsii$Proxy
Enclosing class:
CfnAnomalyDetector

@Stability(Stable) public static interface CfnAnomalyDetector.RedshiftSourceConfigProperty extends software.amazon.jsii.JsiiSerializable
Provides information about the Amazon Redshift database configuration.

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.lookoutmetrics.*;
 RedshiftSourceConfigProperty redshiftSourceConfigProperty = RedshiftSourceConfigProperty.builder()
         .clusterIdentifier("clusterIdentifier")
         .databaseHost("databaseHost")
         .databaseName("databaseName")
         .databasePort(123)
         .roleArn("roleArn")
         .secretManagerArn("secretManagerArn")
         .tableName("tableName")
         .vpcConfiguration(VpcConfigurationProperty.builder()
                 .securityGroupIdList(List.of("securityGroupIdList"))
                 .subnetIdList(List.of("subnetIdList"))
                 .build())
         .build();
 
  • Method Details

    • getClusterIdentifier

      @Stability(Stable) @NotNull String getClusterIdentifier()
      A string identifying the Redshift cluster.
    • getDatabaseHost

      @Stability(Stable) @NotNull String getDatabaseHost()
      The name of the database host.
    • getDatabaseName

      @Stability(Stable) @NotNull String getDatabaseName()
      The Redshift database name.
    • getDatabasePort

      @Stability(Stable) @NotNull Number getDatabasePort()
      The port number where the database can be accessed.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the role providing access to the database.
    • getSecretManagerArn

      @Stability(Stable) @NotNull String getSecretManagerArn()
      The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
    • getTableName

      @Stability(Stable) @NotNull String getTableName()
      The table name of the Redshift database.
    • getVpcConfiguration

      @Stability(Stable) @NotNull Object getVpcConfiguration()
      Contains information about the Amazon Virtual Private Cloud (VPC) configuration.
    • builder

      @Stability(Stable) static CfnAnomalyDetector.RedshiftSourceConfigProperty.Builder builder()
      Returns:
      a CfnAnomalyDetector.RedshiftSourceConfigProperty.Builder of CfnAnomalyDetector.RedshiftSourceConfigProperty