Interface CfnAnomalyDetector.RDSSourceConfigProperty

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

@Stability(Stable) public static interface CfnAnomalyDetector.RDSSourceConfigProperty extends software.amazon.jsii.JsiiSerializable
Contains information about the Amazon Relational Database Service (RDS) 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.*;
 RDSSourceConfigProperty rDSSourceConfigProperty = RDSSourceConfigProperty.builder()
         .databaseHost("databaseHost")
         .databaseName("databaseName")
         .databasePort(123)
         .dbInstanceIdentifier("dbInstanceIdentifier")
         .roleArn("roleArn")
         .secretManagerArn("secretManagerArn")
         .tableName("tableName")
         .vpcConfiguration(VpcConfigurationProperty.builder()
                 .securityGroupIdList(List.of("securityGroupIdList"))
                 .subnetIdList(List.of("subnetIdList"))
                 .build())
         .build();
 
  • Method Details

    • getDatabaseHost

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

      @Stability(Stable) @NotNull String getDatabaseName()
      The name of the RDS database.
    • getDatabasePort

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

      @Stability(Stable) @NotNull String getDbInstanceIdentifier()
      A string identifying the database instance.
    • getRoleArn

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

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

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

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

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