DMS replication instance with public accessibility is detected. Make Sure that DMS replication instance should not allow public accessibility.
1Resources:
2 Resource:
3 Type: AWS::DMS::ReplicationInstance
4 DependsOn:
5 - rDMSVPCRole
6 - rDMSCloudWatchLogsRole
7 Properties:
8 ReplicationInstanceIdentifier: !Sub ${pOrg}-${pApp}-${pEnvironment}-${pTeamName}-dms-cdc-replication-instance
9 ReplicationInstanceClass: dms.c4.xlarge
10 # Noncompliant: DMS replication instance is publicly accessible.
11 PubliclyAccessible: True
1Resources:
2 Resource:
3 Type: AWS::DMS::ReplicationInstance
4 DependsOn:
5 - rDMSVPCRole
6 - rDMSCloudWatchLogsRole
7 Properties:
8 ReplicationInstanceIdentifier: !Sub ${pOrg}-${pApp}-${pEnvironment}-${pTeamName}-dms-cdc-replication-instance
9 ReplicationInstanceClass: dms.c4.xlarge
10 # Compliant: DMS replication instance is not publicly accessible.
11 PubliclyAccessible: False