aws.dms-endpoint

Actions

delete

Delete a DMS endpoint

example

policies:
  - name: dms-endpoint-no-ssl-delete
    resource: dms-endpoint
    filters:
      - EngineName: mariadb
      - SslMode: none
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

modify-endpoint

Modify the attributes of a DMS endpoint

example

policies:
  - name: dms-endpoint-modify
    resource: dms-endpoint
    filters:
      - EngineName: sqlserver
      - SslMode: none
    actions:
      - type: modify-endpoint
        SslMode: require

AWS ModifyEndpoint Documentation https://docs.aws.amazon.com/dms/latest/APIReference/API_ModifyEndpoint.html

properties:
  CertificateArn:
    type: string
  DatabaseName:
    type: string
  DynamoDbSettings:
    additionalProperties: false
    properties:
      ServiceAccessRoleArn:
        type: string
    required:
    - ServiceAccessRoleArn
    type: object
  EndpointIdentifier:
    type: string
  EngineName:
    enum:
    - mysql
    - oracle
    - postgres
    - mariadb
    - aurora
    - redshift
    - S3
    - sybase
    - dynamodb
    - mongodb
    - sqlserver
  ExtraConnectionAttributes:
    type: string
  MongoDbSettings:
    additionalProperties: false
    properties:
      AuthMechanism:
        enum:
        - default
        - mongodb_cr
        - scram_sha_1
        type: string
      AuthSource:
        type: string
      DatabaseName:
        type: string
      DocsToInvestigate:
        minimum: 1
        type: integer
      ExtractDocId:
        type: string
      NestingLevel:
        enum:
        - NONE
        - none
        - ONE
        - one
        type: string
      Password:
        type: string
      Port:
        maximum: 65535
        minimum: 1
        type: integer
      ServerName:
        type: string
      Username:
        type: string
    type: object
  Password:
    type: string
  Port:
    maximum: 65536
    minimum: 1
    type: integer
  S3Settings:
    additionalProperties: false
    properties:
      BucketFolder:
        type: string
      BucketName:
        type: string
      CompressionType:
        enum:
        - none
        - gzip
        type: string
      CsvDelimiter:
        type: string
      CsvRowDelimiter:
        type: string
      ExternalTableDefinition:
        type: string
      ServiceAccessRoleArn:
        type: string
    type: object
  ServerName:
    type: string
  SslMode:
    enum:
    - none
    - require
    - verify-ca
    - verify-full
    type: string
  Username:
    type: string
  type:
    enum:
    - modify-endpoint