ReplicationSubnetGroup constructor

ReplicationSubnetGroup(
  1. String name, {
  2. ReplicationSubnetGroupArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ReplicationSubnetGroup. name The Pulumi resource name. args Arguments used to configure this ReplicationSubnetGroup. The set of arguments for ReplicationSubnetGroup. options Resource options controlling this resource's behavior.

Implementation

ReplicationSubnetGroup(
  String name, {
  ReplicationSubnetGroupArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:dms/replicationSubnetGroup:ReplicationSubnetGroup',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  region = registerOutput<String>('region');
  replicationSubnetGroupArn = registerOutput<String>('replicationSubnetGroupArn');
  replicationSubnetGroupDescription = registerOutput<String>('replicationSubnetGroupDescription');
  replicationSubnetGroupId = registerOutput<String>('replicationSubnetGroupId');
  subnetIds = registerOutput<List<String>>('subnetIds', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  vpcId = registerOutput<String>('vpcId');
}